aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2022-09-01 21:03:34 +1000
committerMichael Ellerman <[email protected]>2022-09-08 11:11:18 +1000
commitb11931e9adc1a439eab75c97ca4b9f15754cdcb1 (patch)
tree0aac8dccb9c47241a147f2fc9e6183b90366d676 /tools/perf/scripts/python/exported-sql-viewer.py
parent78c73c80fd860d5b3471d8eaa2778a105a56f6ab (diff)
powerpc/64s: add pte_needs_flush and huge_pmd_needs_flush
Allow PTE changes to avoid flushing the TLB when access permissions are being relaxed, the dirty bit is being set, and the accessed bit is being changed. Relaxing access permissions and setting dirty and accessed bits do not require a flush because the MMU will re-load the PTE and notice the updates (it may also cause a spurious fault). Clearing the accessed bit does not require a flush because of the imprecise PTE accessed bit accounting that is already performed, as documented in ptep_clear_flush_young(). This reduces TLB flushing for some mprotect(2) calls. Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Reviewed-by: Christophe Leroy <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions