git: kernel - Add missing flag to vm_page_alloc() initializer.

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 30 09:50:54 PST 2017


commit e4b2227aac59276b85528ce4fd534df82d416af1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jan 29 20:25:42 2017 -0800

    kernel - Add missing flag to vm_page_alloc() initializer.
    
    * vm_page_alloc() (and the contig functions too) clear most vm_page->flags,
      but not all.  PG_ACTIONLIST was being improperly cleared.
    
    * Fix the case (may fix occassional races in usched).
    
    * Add a #define to ensure the flags we need to keep are defined in only
      one place.

Summary of changes:
 sys/vm/vm_contig.c | 4 +---
 sys/vm/vm_page.c   | 3 ++-
 sys/vm/vm_page.h   | 4 ++++
 3 files changed, 7 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e4b2227aac59276b85528ce4fd534df82d416af1


-- 
DragonFly BSD source repository



More information about the Commits mailing list