aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/vm/thuge-gen.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-05-22selftests/thuge-gen: Use platform specific MAP_HUGETLB valueHelge Deller1-0/+2
Do not hardcode MAP_HUGETLB to 0x40000, since quite some architectures use a different value. Tested with a parisc architecture 64bit kernel. Signed-off-by: Helge Deller <deller@gmx.de>
2012-12-11selftests: add a test program for variable huge page sizes in mmap/shmgetAndi Kleen1-0/+254
Also remove -Wextra because gcc-4.6 emits lots of irritating signed/unsigned comparison warnings. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>