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

git: kernel -- vm_page_dontneed: Fix interaction with vm_page_madvise and pagedaemon


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Sep 2011 06:51:39 -0700 (PDT)

commit 31da5e4d0cbd142b2ea4e6281890ee475f1f9711
Author: Venkatesh Srinivas <me@endeavour.zapto.org>
Date:   Sat Sep 24 06:41:13 2011 -0700

    kernel -- vm_page_dontneed: Fix interaction with vm_page_madvise and pagedaemon
    
    vm_page_dontneed didn't clear the PG_REFERENCED flag on pages it is
    deactivating. The pagedaemon would see references on the page (via
    PG_REFERENCED) and reactivate it, undoing the effect of vm_page_dontneed.

Summary of changes:
 sys/vm/vm_page.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/31da5e4d0cbd142b2ea4e6281890ee475f1f9711


-- 
DragonFly BSD source repository



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