git: kernel - Require pages to be PQ_ACTIVE for quick vm_page soft refs

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 12 17:14:33 PST 2020


commit 68cf8881a217fbdd7668383494fad7ccc0025703
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Feb 12 12:20:47 2020 -0800

    kernel - Require pages to be PQ_ACTIVE for quick vm_page soft refs
    
    * Require the a VM page be ACTIVE when allowing a quick soft ref
      on it for a vm_fault().  If the page is not ACTIVE, the fault will
      access it normally and activate it.
    
      Previously the page could be ACTIVE or INACTIVE.
    
    * This ensures that pages often-referenced by vm_fault do not accidently
      flow through states and get freed prematurely, causing light paging
      to unnecessarily stall active processes.

Summary of changes:
 sys/vm/vm_fault.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/68cf8881a217fbdd7668383494fad7ccc0025703


-- 
DragonFly BSD source repository


More information about the Commits mailing list