diff options
author | David Hildenbrand <[email protected]> | 2022-11-16 11:26:41 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-11-30 15:58:57 -0800 |
commit | f8664f3c4a08f799122e8f0a8093056a7b3fbc8d (patch) | |
tree | aa54e9a5cbea4e3adc9a698f497ec62d90d012f4 /lib/mpi/mpi-mod.c | |
parent | 7aca5ca154930a06612f4d7b81f710f3e1027e04 (diff) |
selftests/vm: cow: basic COW tests for non-anonymous pages
Let's add basic tests for COW with non-anonymous pages in private
mappings: write access should properly trigger COW and result in the
private changes not being visible through other page mappings.
Especially, add tests for:
* Zeropage
* Huge zeropage
* Ordinary pagecache pages via memfd and tmpfile()
* Hugetlb pages via memfd
Fortunately, all tests pass.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions