diff options
author | David Hildenbrand <[email protected]> | 2020-07-22 11:45:51 +0200 |
---|---|---|
committer | Heiko Carstens <[email protected]> | 2020-07-27 10:33:36 +0200 |
commit | 3e0d3e408e63839625b210e5eb7269c45b870a38 (patch) | |
tree | ab5d3bfb12b239177d035e6aac36f8baf5006d88 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 8398b226b8f01df902450658a139ee01d9f4c482 (diff) |
s390/vmem: consolidate vmem_add_range() and vmem_remove_range()
We want to have only a single pagetable walker and reuse the same
functionality for vmemmap handling. Let's start by consolidating
vmem_add_range() and vmem_remove_range(), converting it into a
recursive implementation.
A recursive implementation makes it easier to expand individual cases
without harming readability. In addition, we minimize traversing the
whole hierarchy over and over again.
One change is that we don't unmap large PMDs/PUDs when not completely
covered by the request, something that should never happen with direct
mappings, unless one would be removing in other granularity than added,
which would be broken already.
Cc: Vasily Gorbik <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Gerald Schaefer <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions