diff options
| author | Joel Fernandes (Google) <[email protected]> | 2019-11-30 17:53:31 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-12-01 12:59:03 -0800 |
| commit | 2e53c4e1c807d91dc7241c2104e69ad9d2c71e48 (patch) | |
| tree | 1ac0953e7aff0a0c02a0dd57dcd9cfdd7f4fcce7 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 05d351102dbe4e103d6bdac18b1122cd3cd04925 (diff) | |
memfd: add test for COW on MAP_PRIVATE and F_SEAL_FUTURE_WRITE mappings
In this test, the parent and child both have writable private mappings.
The test shows that without the patch in this series, the parent and
child shared the same memory which is incorrect. In other words, COW
needs to be triggered so any writes to child's copy stays local to the
child.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Joel Fernandes (Google) <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Nicolas Geoffray <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions