selftests/vm: add a test for virtual address range mapping
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Mon, 8 May 2017 23:00:19 +0000 (16:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 May 2017 00:15:16 +0000 (17:15 -0700)
commit4e5ce33ceb3250f564656588da4d47f3eca7d2af
treed7bd5f4abd7af745640f00b309569f7f23521fa2
parentb4440734583c3addf80558e8fde2b61e2d76328c
selftests/vm: add a test for virtual address range mapping

This verifies virtual address mapping below and above the 128TB range
and makes sure that address returned are within the expected range
depending upon the hint passed from the user space.

Link: http://lkml.kernel.org/r/20170418095252.20533-1-khandual@linux.vnet.ibm.com
Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Cc: Michal Suchanek <msuchanek@suse.de>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Shuah Khan <shuahkh@osg.samsung.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/run_vmtests
tools/testing/selftests/vm/virtual_address_range.c [new file with mode: 0644]