Skip to content
Commit c28b2741 authored by Stafford Horne's avatar Stafford Horne
Browse files

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: default avatarStafford Horne <shorne@gmail.com>
parent 57b8e277
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment