kernel - Fix more wiring / fictitious bugs w/recent VM work
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 27 Mar 2019 17:32:05 +0000 (10:32 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 27 Mar 2019 17:32:05 +0000 (10:32 -0700)
commit0ca81fbe2230537bbfdd10bff3ecc125b94516d3
tree83376ca173358e2f22ce219f49528b57d85f8c0a
parent19ccf7e8cf65653d950a3abd3a4ad5260cae7cd1
kernel - Fix more wiring / fictitious bugs w/recent VM work

* Fictitious pages cannot be placed on any VM paging queue,
  assert this and fix a few places where it could.

* This will remove most of the 'Encountered wired page %p on queue'
  warnings reported.  This kprintf() is still in place for the moment
  because generally speaking pages should be unwired before VM objects
  are destroyed.

  But other than VM object destruction, its actually ok for wired pages
  to be on the paging queues now.
sys/vm/vm_object.c
sys/vm/vm_page.c