mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Define MADV_COLLAPSE from Linux 6.1
Add the MADV_COLLAPSE constant from Linux 6.1 to bits/mman-linux.h and the hppa bits/mman.h. Tested for x86_64.
This commit is contained in:
@ -91,6 +91,7 @@
|
||||
writable. */
|
||||
# define MADV_DONTNEED_LOCKED 24 /* Like MADV_DONTNEED, but drop
|
||||
locked pages too. */
|
||||
# define MADV_COLLAPSE 25 /* Synchronous hugepage collapse. */
|
||||
# define MADV_HWPOISON 100 /* Poison a page for testing. */
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user