]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests/powerpc: Add test of fork with mapping above 512TB
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 13 Jun 2019 02:07:59 +0000 (12:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 13 Jun 2019 02:09:48 +0000 (12:09 +1000)
commit16391bfc862342f285195013b73c1394fab28b97
treec108b0a9c18d5495480f113fdbd234614e683564
parentca72d88378b2f2444d3ec145dd442d449d3fefbc
selftests/powerpc: Add test of fork with mapping above 512TB

This tests that when a process with a mapping above 512TB forks we
correctly separate the parent and child address spaces. This exercises
the bug in the context id handling fixed in the previous commit.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/mm/.gitignore
tools/testing/selftests/powerpc/mm/Makefile
tools/testing/selftests/powerpc/mm/large_vm_fork_separation.c [new file with mode: 0644]