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

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Sat Sep 24 06:53:03 PDT 2011


commit 31da5e4d0cbd142b2ea4e6281890ee475f1f9711
Author: Venkatesh Srinivas <me at 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





More information about the Commits mailing list