mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-26 12:41:05 +00:00
Add MADV_DONTNEED_LOCKED from Linux 5.18 to bits/mman-linux.h
Linux 5.18 adds a constant MADV_DONTNEED_LOCKED (defined in multiple header files, but with the same value on all architectures). Add this constant to bits/mman-linux.h. Tested for x86_64.
This commit is contained in:
parent
9d03bac7e7
commit
de3501d60f
@ -93,6 +93,8 @@
|
||||
readable. */
|
||||
# define MADV_POPULATE_WRITE 23 /* Populate (prefault) page tables
|
||||
writable. */
|
||||
# define MADV_DONTNEED_LOCKED 24 /* Like MADV_DONTNEED, but drop
|
||||
locked pages too. */
|
||||
# define MADV_HWPOISON 100 /* Poison a page for testing. */
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user