git: kernel - Add overlapping buffer test to the buffer cache
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Aug 15 08:26:48 PDT 2010
commit 7608650f2d0c2fb8e1dea0d0d868da353d31ea86
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sun Aug 15 08:20:37 2010 -0700
kernel - Add overlapping buffer test to the buffer cache
* Add a test for overlapping buffer in bgetvp().
* Add a sysctl vfs.check_buf_overlap which defaults to enabling the
check invasively. Overlapping buffer cache buffers can be deadly.
0 - disabled
1 - checked and reported
2 - checked and panic (invasive) (default)
Summary of changes:
sys/kern/vfs_bio.c | 2 +-
sys/kern/vfs_subr.c | 39 ++++++++++++++++++++++++++++++++++++++-
sys/sys/buf.h | 2 +-
3 files changed, 40 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7608650f2d0c2fb8e1dea0d0d868da353d31ea86
--
DragonFly BSD source repository
More information about the Commits
mailing list