freebsd-src/sys/riscv
Mark Johnston 35c91b0c27 Implement per-CPU pmap activation tracking for RISC-V.
This reduces the overhead of TLB invalidations by ensuring that we
only interrupt CPUs which are using the given pmap.  Tracking is
performed in pmap_activate(), which gets called during context switches:
from cpu_throw(), if a thread is exiting or an AP is starting, or
cpu_switch() for a regular context switch.

For now, pmap_sync_icache() still must interrupt all CPUs.

Reviewed by:	kib (earlier version), jhb
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D18874
2019-02-13 17:50:01 +00:00
..
conf Configure hz=100 in the QEMU target. 2019-01-03 16:11:21 +00:00
include Implement per-CPU pmap activation tracking for RISC-V. 2019-02-13 17:50:01 +00:00
riscv Implement per-CPU pmap activation tracking for RISC-V. 2019-02-13 17:50:01 +00:00