kernel - Change pager interface to pass page index 3/*
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 7 Nov 2020 18:19:17 +0000 (10:19 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 7 Nov 2020 18:19:17 +0000 (10:19 -0800)
commit0fa991664bc52345ebe9c94d66a98c09bfede359
tree908d80811b87b39fcbd07553b60ac847af88c18a
parentaf672bf0683302450f60f1a7697817ddd1f93d66
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.
sys/vm/vm_object.c