]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite51350478de277860c0783507c39927d748a6b64
treed7bd5f4abd7af745640f00b309569f7f23521fa2
parent421b375f22d743aa368eb305ee4f700b416c7c39
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]