summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/vm/thuge-gen.c
Commit message (Collapse)AuthorAgeFilesLines
* selftests/thuge-gen: Use platform specific MAP_HUGETLB valueHelge Deller2016-05-221-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>
* selftests: add a test program for variable huge page sizes in mmap/shmgetAndi Kleen2012-12-111-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>
OpenPOWER on IntegriCloud