git: kernel - Change pager interface to pass page index 3/*
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Nov 7 10:22:20 PST 2020
commit 0fa991664bc52345ebe9c94d66a98c09bfede359
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Nov 7 10:19:17 2020 -0800
kernel - Change pager interface to pass page index 3/*
* Don't shortcut vm_object_page_remove() with a resident_page_count
test for MGTDEVICE objects. These objects are not required to have
their VM pages entered into them.
* in vm_object_page_remove(), change pmap_remove_pages() to
pmap_remove(). The former is meant to be used only in the
exit code and does not bother with TLB synchronization.
pmap_remove() properly handles any TLB synchronization.
Summary of changes:
sys/vm/vm_object.c | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0fa991664bc52345ebe9c94d66a98c09bfede359
--
DragonFly BSD source repository
More information about the Commits
mailing list