sys/mman.h: add MADV_DONTNEED_LOCKED from linux v6.0
this flag works like MADV_DONTNEED but also applies to locked memory ranges. see linux commit 9457056ac426e5ed0671356509c8dcce69f8dee0 mm: madvise: MADV_DONTNEED_LOCKED
This commit is contained in:
@@ -97,6 +97,7 @@ extern "C" {
|
||||
#define MADV_PAGEOUT 21
|
||||
#define MADV_POPULATE_READ 22
|
||||
#define MADV_POPULATE_WRITE 23
|
||||
#define MADV_DONTNEED_LOCKED 24
|
||||
#define MADV_HWPOISON 100
|
||||
#define MADV_SOFT_OFFLINE 101
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user