git: kernel - VM - fix vm_pages_needed race

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 3 15:21:46 PST 2010


commit 12d8aca7e6e8fea5c241554f699d3c7517f07d6c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Feb 3 15:19:52 2010 -0800

    kernel - VM - fix vm_pages_needed race
    
    * vm_page_needed sleep/wakeup can race and cause a wakeup to be missed,
      resulting in processes getting stuck in 'pfault' until something else
      kicks the pager.
    
      Fix the race.

Summary of changes:
 sys/vm/vm_pageout.c |   22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/12d8aca7e6e8fea5c241554f699d3c7517f07d6c


-- 
DragonFly BSD source repository





More information about the Commits mailing list