Skip to content

Commit

Permalink
Define MADV_NOHUGEPAGE.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jan 17, 2011
1 parent 32465c3 commit 18ba70a
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
2011-01-17 Ulrich Drepper <drepper@gmail.com>

* sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE.
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
MADV_NOHUGEPAGE.
* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/i386/bits/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
# define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/ia64/bits/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
# define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/powerpc/bits/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
# define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/s390/bits/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
# define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/sh/bits/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
# define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/sparc/bits/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
# define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/x86_64/bits/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
# define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
# define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages. */
# define MADV_HUGEPAGE 14 /* Worth backing with hugepages. */
# define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif

Expand Down

0 comments on commit 18ba70a

Please sign in to comment.