diff options
author | 2017-08-02 15:51:01 +0200 | |
---|---|---|
committer | 2017-08-15 22:55:56 +1000 | |
commit | e611939fc8ec13387018df88083de7102a438730 (patch) | |
tree | 3c37723e68ce2f7c565ece72eda0c5e9be32f10f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/8xx: Reduce DTLB miss handler by one insn (diff) | |
download | wireguard-linux-e611939fc8ec13387018df88083de7102a438730.tar.xz wireguard-linux-e611939fc8ec13387018df88083de7102a438730.zip |
powerpc/mm: Ensure change_page_attr() doesn't invalidate pinned TLBs
__change_page_attr() uses flush_tlb_page().
flush_tlb_page() uses tlbie instruction, which also invalidates
pinned TLBs, which is not what we expect.
This patch modifies the implementation to use flush_tlb_kernel_range()
instead. This will make use of tlbia which will preserve pinned TLBs.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions