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

git: DragonFly_RELEASE_2_4 kernel - fix bug when issuing synchronous pageouts via contigmalloc.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 15 Sep 2009 12:20:31 -0700 (PDT)

commit 859bb7a8f6449d7d56cf16f96ce97e8e5f283a4e
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Sep 15 12:16:00 2009 -0700

    kernel - fix bug when issuing synchronous pageouts via contigmalloc.
    
    * There are multiple mis-checks in this code but the only path that
      causes the bug is if contigmalloc is forced to page data out, and
      that generally only occurs due to the USB subsystem.
    
    * The bug causes relpbuf() to be called with the wrong argument,
      ultimately causing the swap pbuf availability counter to hit 0 and
      stay there.
    
    * Fixes a umass insertion failure (the usb thread was locking up).

Summary of changes:
 sys/vm/swap_pager.c |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/859bb7a8f6449d7d56cf16f96ce97e8e5f283a4e


-- 
DragonFly BSD source repository



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