git: kernel - Allow vm_page_alloc() to return NULL in bio_page_alloc()

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Nov 10 10:06:40 PST 2011


commit 794fd6ea2c2482fe226b45a522df8199c20c5355
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Nov 10 10:03:27 2011 -0800

    kernel - Allow vm_page_alloc() to return NULL in bio_page_alloc()
    
    * Alloc the allocation race case to occur in bio_page_alloc().  Callers
      will handle the case.
    
    Reported-by: ftigeot

Summary of changes:
 sys/kern/vfs_bio.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/794fd6ea2c2482fe226b45a522df8199c20c5355


-- 
DragonFly BSD source repository





More information about the Commits mailing list