aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2018-07-25 19:54:28 +1000
committerMichael Ellerman <[email protected]>2018-08-07 21:49:27 +1000
commit34c604d27590fdc9a2c944be8c50ae1fc80f5f25 (patch)
treeacebfa0f02d084736c6ce4bd78c500a3890ccbc4 /tools/perf/scripts/python/bin
parent5a6099346c41792f1ba23aea6f74ad816e7fecd4 (diff)
powerpc/64s: free page table caches at exit_mmap time
The kernel page table caches are tied to init_mm, so there is no more need for them after userspace is finished. destroy_context() gets called when we drop the last reference for an mm, which can be much later than the task exit due to other lazy mm references to it. We can free the page table cache pages on task exit because they only cache the userspace page tables and kernel threads should not access user space addresses. The mapping for kernel threads itself is maintained in init_mm and page table cache for that is attached to init_mm. Signed-off-by: Nicholas Piggin <[email protected]> Reviewed-by: Aneesh Kumar K.V <[email protected]> [mpe: Merge change log additions from Aneesh] Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions