CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/04/01 06:45:50
Modified files:
sys/arch/amd64/include: pmap.h
sys/arch/amd64/amd64: vmm.c pmap.c
Log message:
vmm(4): flush EPT when uvm removes mappings from a nested page table
Ensure TLB is flushed to avoid stale entries when uvm removes
entries from a guest VM's EPT. This is done on VM teardown and when uvm
pages out pages in low memory situations. Prompted by a conversation with
Maxime from NetBSD a few months back.
ok deraadt