mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03: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:
@@ -93,6 +93,8 @@
|
|||||||
readable. */
|
readable. */
|
||||||
# define MADV_POPULATE_WRITE 23 /* Populate (prefault) page tables
|
# define MADV_POPULATE_WRITE 23 /* Populate (prefault) page tables
|
||||||
writable. */
|
writable. */
|
||||||
|
# define MADV_DONTNEED_LOCKED 24 /* Like MADV_DONTNEED, but drop
|
||||||
|
locked pages too. */
|
||||||
# define MADV_HWPOISON 100 /* Poison a page for testing. */
|
# define MADV_HWPOISON 100 /* Poison a page for testing. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user