mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
Kernel: Add MADV_GET_VOLATILE for checking the volatile flag
Sometimes you might want to know if a purgeable region is volatile.
This commit is contained in:
parent
1ad5568759
commit
487f9b373b
3 changed files with 8 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
|
||||
#define MADV_SET_VOLATILE 0x100
|
||||
#define MADV_SET_NONVOLATILE 0x200
|
||||
#define MADV_GET_VOLATILE 0x400
|
||||
|
||||
#define F_DUPFD 0
|
||||
#define F_GETFD 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue