diff options
| author | Yu Zhao <[email protected]> | 2019-03-11 18:57:47 -0600 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2019-04-09 11:21:50 +0100 |
| commit | 369aaab845a65b90ceac2801edd577fae442476c (patch) | |
| tree | 996c9e95de8ad57c083615f9ef546e37a35f93fe /tools/perf/scripts/python/stackcollapse.py | |
| parent | 90292aca9854a2cbd904127337d6fea30f46290c (diff) | |
arm64: mm: don't call page table ctors for init_mm
init_mm doesn't require page table lock to be initialized at
any level. Add a separate page table allocator for it, and the
new one skips page table ctors.
The ctors allocate memory when ALLOC_SPLIT_PTLOCKS is set. Not
calling them avoids memory leak in case we call pte_free_kernel()
on init_mm.
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Yu Zhao <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions