diff options
author | David Hildenbrand <david@redhat.com> | 2022-09-27 13:01:20 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-11-08 17:37:15 -0800 |
commit | 6f1405efc61b6e686bdf6e2e09b41d2d3a5c14e2 (patch) | |
tree | 85b01cc57a771e0a48fb4e3ba2e1168e518bacb1 /mm/page_reporting.h | |
parent | c77369b437f983a862bb6741814670d4ad38478c (diff) | |
download | linux-6f1405efc61b6e686bdf6e2e09b41d2d3a5c14e2.tar.gz linux-6f1405efc61b6e686bdf6e2e09b41d2d3a5c14e2.tar.bz2 linux-6f1405efc61b6e686bdf6e2e09b41d2d3a5c14e2.zip |
selftests/vm: anon_cow: add R/O longterm tests via gup_test
Let's trigger a R/O longterm pin on three cases of R/O mapped anonymous
pages:
* exclusive (never shared)
* shared (child still alive)
* previously shared (child no longer alive)
... and make sure that the pin is reliable: whatever we write via the page
tables has to be observable via the pin.
Link: https://lkml.kernel.org/r/20220927110120.106906-8-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Christoph von Recklinghausen <crecklin@redhat.com>
Cc: Don Dutile <ddutile@redhat.com>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Nadav Amit <namit@vmware.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_reporting.h')
0 files changed, 0 insertions, 0 deletions