mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
Define MADV_MERGEABLE and MADV_UNMERGEABLE.
Add MADV_MERGEABLE and MADV_UNMERGEABLE to bits/mman.h, matching HPPA values used in Linux kernel 2.6.32.
This commit is contained in:
parent
d143075adc
commit
317d0e66a0
@ -1,3 +1,8 @@
|
||||
2010-02-02 Carlos O'Donell <carlos@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define
|
||||
MADV_MERGEABLE and MADV_UNMERGEABLE.
|
||||
|
||||
2010-02-02 Carlos O'Donell <carlos@codesourcery.com>
|
||||
|
||||
* sysdeps/hppa/nptl/tls.h (__set_cr27): Clobber
|
||||
|
@ -86,6 +86,8 @@
|
||||
# define MADV_REMOVE 9 /* Remove these pages and resources. */
|
||||
# define MADV_DONTFORK 10 /* Do not inherit across fork. */
|
||||
# define MADV_DOFORK 11 /* Do inherit across fork. */
|
||||
# define MADV_MERGEABLE 65 /* KSM may merge identical pages */
|
||||
# define MADV_UNMERGEABLE 66 /* KSM may not merge identical pages */
|
||||
#endif
|
||||
|
||||
/* The range 12-64 is reserved for page size specification. */
|
||||
|
Loading…
Reference in New Issue
Block a user