Hello, At Wed, 2 Jan 2008 14:55:06 +0000, Andrew Doran wrote: > The vmlocking2 branch was merged into -current earlier today. The global > kernel_lock is now mostly confined to the network stacks, device drivers and > a few file systems like LFS. For many paths in the kernel, it's no longer > taken. When using an machine with multiple CPUs, the system should perform > better on many workoads. > > There are some known bugs which I am working on, and without doubt more > will be discovered: > > - Write activity to an LFS file system can cause the system to deadlock. > - Unmounting a busy tmpfs can cause a kernel assertion to fail. I get a following panic at boot time. It did not happen on 4.99.47. And it does not happen without softdep. ---------------------------------------------------------------------- panic: initiate_write_inodeblock: already started Stopped in pid 0.32 (system) at netbsd:breakpoint+0x1: ret db> bt breakpoint(c05b3630,0,80,0,ccb62888) at netbsd:breakpoint+0x1 softdep_disk_io_initiation(c2780a60,0,0,80,c2780a60) at netbsd:softdep_disk_io_initiation+0x691 spec_strategy(ccb62910,0,ccb6293c,c055c320,ccb93bfc) at netbsd:spec_strategy+0x3c VOP_STRATEGY(ccb93bfc,c2780a60,0,1262a6c,0) at netbsd:VOP_STRATEGY+0x28 bwrite(c2780a60,cd1e28bc,80,0,ffffffff) at netbsd:bwrite+0xe3 ffs_update(ccb98d9c,0,0,0,0) at netbsd:ffs_update+0x336 ffs_full_fsync(ccb98d9c,5,1,0,0) at netbsd:ffs_full_fsync+0x2cb ffs_fsync(ccb62acc,20,c055bf20,ccb98d9c,ffffffff) at netbsd:ffs_fsync+0x62 VOP_FSYNC(ccb98d9c,ffffffff,5,0,0) at netbsd:VOP_FSYNC+0x43 vinvalbuf(ccb98d9c,1,ffffffff,fb7b2060,0) at netbsd:vinvalbuf+0x1a1 vclean(ccb98d9c,8,ccb62bac,c03b2ac8,ccb62ba0) at netbsd:vclean+0x1aa vrelel(ccb98d9c,1,0,c02cca61,c0640cb4) at netbsd:vrelel+0x1a0 vrele(ccb98d9c,ccb62bfc,0,ccb62bf8,cb7b211c) at netbsd:vrele+0x29 handle_workitem_remove(c0671908,64,cb7b2060,0,c209f630) at netbsd:handle_workitem_remove+0xf0 softdep_process_worklist(0,c065767c64,0,0) at netbsd:softdep_process_worklist+0xdb sched_sync(cb7b2060,0,c01002bd,0,c01002bd) at netbsd:sched_sync+0x49 db> ---------------------------------------------------------------------- best regards. -- Kouichirou Hiratsuka hira%po6.nsk.ne.jp@localhost