diff options
| author | David Hildenbrand <[email protected]> | 2023-01-02 17:08:55 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-01-18 17:12:57 -0800 |
| commit | b6b7a8faf05c709cd9f63d3b7d9c66bd91bc3b0d (patch) | |
| tree | e9314f6d0ce7fd59966ee70989134666ed5b477a /tools/perf/scripts/python/libxed.py | |
| parent | fc4f4be9b5271e43eeb4c675d190fa9734de9ea3 (diff) | |
mm/nommu: don't use VM_MAYSHARE for MAP_PRIVATE mappings
Let's stop using VM_MAYSHARE for MAP_PRIVATE mappings and use
VM_MAYOVERLAY instead. Rewrite determine_vm_flags() to make the whole
logic easier to digest, and to cleanly separate MAP_PRIVATE vs.
MAP_SHARED.
No functional change intended.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: Pavel Begunkov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions