selftests: add a test program for variable huge page sizes in mmap/shmget
authorAndi Kleen <ak@linux.intel.com>
Wed, 12 Dec 2012 00:01:36 +0000 (16:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Dec 2012 01:22:25 +0000 (17:22 -0800)
commitfcc1f2d5dd3480214ab52e06d081d123019814ed
tree03e658ebec4942124bc1cde9b132dbecb22a2421
parent42d7395feb56f0655cd8b68e06fc6063823449f8
selftests: add a test program for variable huge page sizes in mmap/shmget

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>
tools/testing/selftests/vm/Makefile
tools/testing/selftests/vm/thuge-gen.c [new file with mode: 0644]