mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +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:
@@ -79,4 +79,6 @@
|
||||
# define MADV_WIPEONFORK 71 /* Zero memory on fork, child only. */
|
||||
# undef MADV_KEEPONFORK
|
||||
# define MADV_KEEPONFORK 72 /* Undo MADV_WIPEONFORK. */
|
||||
# undef MADV_COLLAPSE
|
||||
# define MADV_COLLAPSE 73 /* Synchronous hugepage collapse. */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user