summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2020-06-23 21:44:05 +0200
committerStafford Horne <shorne@gmail.com>2020-08-04 03:59:45 +0200
commitc28b27416da91659ad580074db6756b2ab7e62da (patch)
tree4c9463d6d6bc0121c76e33ba751558fa84bf5d8f /virt
parentopenrisc: Fix oops caused when dumping stack (diff)
downloadlinux-c28b27416da91659ad580074db6756b2ab7e62da.tar.xz
linux-c28b27416da91659ad580074db6756b2ab7e62da.zip
openrisc: Implement proper SMP tlb flushing
Up until now when flushing pages from the TLB on SMP OpenRISC was always resorting to flush the entire TLB on all CPUs. This patch adds the mechanics for flushing specific ranges and pages based on the usage. The function switch_mm is updated to account for cpu usage by updating mm_struct's cpumask. This is used in the SMP flush routines. This mostly follows the riscv implementation. Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions