Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-6] src

Module Name:    src
Committed By:   riz
Date:           Mon Jun 11 21:25:02 UTC 2012

Modified Files:
        src/sys/uvm [netbsd-6]: uvm_vnode.c
        src/tests/lib/libc/sys [netbsd-6]: t_mmap.c

Log Message:
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.
Use atf_tc_skip().
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 -r1.97.8.1 src/sys/uvm/uvm_vnode.c
cvs rdiff -u -r1.2 -r1.2.4.1 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.

Home | Main Index | Thread Index | Old Index