DragonFly-2.1.1.86.gbc823 master sys/vm vm_fault.c vnode_pager.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 18 13:46:56 PST 2008


commit bc823b32d9623d147abbdd8575bb463b05093f84
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Dec 18 13:18:29 2008 -0800

    vnode_pager_haspage() could return TRUE but leave *before and *after
    uninitialized, causing vm_fault's burst pagein feature to panic the system.
    
    vm_fault was almost never using its burst pagein feature due to incorrect
    test logic.  The burst pagein code itself was also seriously buggy, so it
    is fortunate the test logic was broken.
    
    Rewrite the broken test logic and fix the bugs in the burst pagein code.
    
    Add a new sysctl vm.burst_fault, defaulting to 0 (disabled).  The default
    will be changed to 1 in a week or two.

Summary of changes:
 sys/vm/vm_fault.c    |   65 +++++++++++++++++++++++++------------------------
 sys/vm/vnode_pager.c |   17 ++++++++++++-
 2 files changed, 49 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=bc823b32d9623d147abbdd8575bb463b05093f84


-- 
DragonFly BSD source repository





More information about the Commits mailing list