git: kernel - Fix more wiring / fictitious bugs w/recent VM work

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Mar 27 10:34:13 PDT 2019


commit 0ca81fbe2230537bbfdd10bff3ecc125b94516d3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Mar 27 10:32:05 2019 -0700

    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.

Summary of changes:
 sys/vm/vm_object.c | 10 +++++++++-
 sys/vm/vm_page.c   | 22 ++++++++++++----------
 2 files changed, 21 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0ca81fbe2230537bbfdd10bff3ecc125b94516d3


-- 
DragonFly BSD source repository



More information about the Commits mailing list