[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/38889 CVS commit: [netbsd-6] src
The following reply was made to PR kern/38889; it has been noted by GNATS.
From: "Jeff Rizzo" <riz%netbsd.org@localhost>
Subject: PR/38889 CVS commit: [netbsd-6] src
Date: Mon, 11 Jun 2012 21:25:03 +0000
Module Name: src
Committed By: riz
Date: Mon Jun 11 21:25:02 UTC 2012
src/sys/uvm [netbsd-6]: uvm_vnode.c
src/tests/lib/libc/sys [netbsd-6]: t_mmap.c
Pull up following revision(s) (requested by martin in ticket #301):
sys/uvm/uvm_vnode.c: revision 1.98
tests/lib/libc/sys/t_mmap.c: revision 1.3
tests/lib/libc/sys/t_mmap.c: revision 1.4
tests/lib/libc/sys/t_mmap.c: revision 1.5
tests/lib/libc/sys/t_mmap.c: revision 1.6
Only use generic readahead on VREG vnodes, the space used to store the
context is not valid on other types.
Prevents the crash reported in PR kern/38889, but does not fix the
mmap of block devices, more work is needed (no size on VBLK vnodes).
Do not skip the block device mmap test, as it does not crash
the kernel any more. Mark it as expected failure instead.
do not use a hardcoded block device list, but query the kernel for attached
disks instead, then try to mmap the raw partition.
A test case for serious PR kern/38889: crash on open/mmap/close of block
device. The test case is skipped for the time being as it replicates the
panic described in the PR (tested on NetBSD/amd64 6.0 BETA).
To generate a diff of this commit:
cvs rdiff -u -r1.97 -r126.96.36.199 src/sys/uvm/uvm_vnode.c
cvs rdiff -u -r1.2 -r188.8.131.52 src/tests/lib/libc/sys/t_mmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |