freebsd-nq/sys/riscv
Mark Johnston 105c317166 Avoid needless TLB invalidations in pmap_remove_pages().
pmap_remove_pages() is called during process termination, when it is
guaranteed that no other CPU may access the mappings being torn down.
In particular, it unnecessary to invalidate each mapping individually
since we do a pmap_invalidate_all() at the end of the function.

Also don't call pmap_invalidate_all() while holding a PV list lock, the
global pvh lock is sufficient.

Reviewed by:	jhb
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D18562
2018-12-14 21:04:30 +00:00
..
conf Add a QEMU config for RISC-V. 2018-12-14 21:00:41 +00:00
include Update the description of the address space layout on RISC-V. 2018-12-07 15:56:40 +00:00
riscv Avoid needless TLB invalidations in pmap_remove_pages(). 2018-12-14 21:04:30 +00:00