vnode_pager.c patch needs testing

km b kmb810 at gmail.com
Fri Aug 10 21:19:44 PDT 2007


G'day Mate

On 8/10/07, Matthew Dillon <dillon at apollo.backplane.com> wrote:
>     This patch to vnode_pager.c needs some serious testing.  It's part
>     of the userfs work I am doing.  To test, do something that accesses a
>     lot of files and causes a lot of paging to occur.  Testing in a vkernel
>     is fine.

Testing your patch inside vkernel I got the following panic. To cause
a lot of paging to occur I was checking out the src tree from local
repository inside a vkernel.

mode = 041777, inum = 2813, fs =
panic: ffs_valloc: dup alloc
Trace beginning at frame 0x5e1a68a0
panic(8213d6d,8294b40,822c468,5e1a68d0,afd) at 0x80b69f9
panic(822c468,43ff,afd,57a930d4,81c3557) at 0x80b69f9
ffs_valloc(5e2e69c8,41ed,5da68700,5e1a6928,5e2fc874) at 0x81c2144
ufs_itimes(5e1a6a80,5e1a6ab0,810e4b4,5e1a6a80,824d488) at 0x81d7107
ufs_vnoperate(5e1a6a80,824d488,5b2b09c8,5e1caa28,5e2e69d8) at 0x81d86d5
vop_old_mkdir(5b2b09c8,5e2e69c8,5e1a6b78,5e1a6ad4,5e1a6b7c) at 0x810e4b4
vop_compat_nmkdir(5e1a6b24,5e1a6b18,81d86d5,5e1a6b24,5e1a6b5c) at 0x80fb459
vop_defaultop(5e1a6b24,5e1a6b5c,810eb09,5e1a6b24,824d558) at 0x80fae9c
ufs_vnoperate(5e1a6b24,824d558,5b2b09c8,2000,5da68700) at 0x81d86d5
vop_nmkdir(5b2b09c8,5e1a6c10,5e1a6b78,5da68700,5e1a6b7c) at 0x810eb09
kern_mkdir(5e1a6c10,1ff,0,0,5e1caa28) at 0x810b8ac
sys_mkdir(5e1a6c98,5e1a6cb0,8,5e2d0c00,0) at 0x810b917
syscall2(5e1a6d40,5e1a6d40,0,0,0) at 0x81fe76f
user_trap(5e1a6d40,1,5e1a6d40,5da890d0,5da84800) at 0x81fdb69
go_user(5e1a6d38,0,0,7b,20000) at 0x81feae7
Debugger("panic")
Stopped at      0x81fb7d9:      movb    $0,0x82c3658

I have no idea whether it's related to your patch or not. Let me know
if you need more information or VKERNEL binary.

Cheers
kmb





More information about the Kernel mailing list