DragonFly BSD
DragonFly commits List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Nov 2011 10:05:15 -0800 (PST)

commit 794fd6ea2c2482fe226b45a522df8199c20c5355
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]