Home
last modified time | relevance | path

Searched hist:c28b27416da91659ad580074db6756b2ab7e62da (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/openrisc/mm/
H A Dtlb.cdiff c28b27416da91659ad580074db6756b2ab7e62da Tue Jun 23 14:44:05 CDT 2020 Stafford Horne <shorne@gmail.com> 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>
/openbmc/linux/arch/openrisc/kernel/
H A Dsmp.cdiff c28b27416da91659ad580074db6756b2ab7e62da Tue Jun 23 14:44:05 CDT 2020 Stafford Horne <shorne@gmail.com> 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>