diff options
| author | Liam R. Howlett <[email protected]> | 2022-09-06 19:48:49 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-26 19:46:16 -0700 |
| commit | 3b0e81a1cdc9afbddb0543d08e38edb4e33c4baf (patch) | |
| tree | 3b5e3728c5430e64d1d606e72289c09d15556aa4 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 524e00b36e8c547f5582eef3fb645a8d9fc5e3df (diff) | |
mmap: change zeroing of maple tree in __vma_adjust()
Only write to the maple tree if we are not inserting or the insert isn't
going to overwrite the area to clear. This avoids spanning writes and
node coealescing when unnecessary.
The change requires a custom search for the linked list addition to find
the correct VMA for the prev link.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Tested-by: Yu Zhao <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: David Howells <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: "Matthew Wilcox (Oracle)" <[email protected]>
Cc: SeongJae Park <[email protected]>
Cc: Sven Schnelle <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions