DragonFly commits List (threaded) for 2008-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DragonFly-2.1.1.86.gbc823 master sys/vm vm_fault.c vnode_pager.c
commit bc823b32d9623d147abbdd8575bb463b05093f84
Author: Matthew Dillon <dillon@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]