SMP FFS Part 3
Peter Holm
peter at holm.cc
Fri Dec 3 14:16:50 PST 2004
On Fri, Dec 03, 2004 at 04:17:48PM -0500, Jeff Roberson wrote:
> On Fri, 3 Dec 2004, Peter Holm wrote:
>
> > On Fri, Dec 03, 2004 at 05:33:01AM -0500, Jeff Roberson wrote:
> > > This patch removes Giant from every file related syscall. It fixes all
> > > known bugs except for one which Peter Holm has seen after very long
> > > periods of extreme load, and a nfs netbooting problem that I haven't yet
> > > looked in to. I can buildworld -j3 for hours on my dual opteron without
> > > issues. I hope to fix the remaining problems in a day or two.
> > >
> > > http://www.chesapeake.net/~jroberson/smpffs.diff
> > >
> >
> > Fatal trap 12: page fault while in kernel mode in kern/kern_proc.c:694
> > http://www.holm.cc/stress/log/jeff07.html (a dup of jeff02.html?)
>
> Can you get me a stack trace from the blocked thread?
>
OK.
(kgdb) p td
$9 = (struct thread *) 0xc2550180
(kgdb) p/d (*td.td_proc).p_pid
$10 = 11895
(kgdb) btp 11895
frame 0 at 0xcf87877c: ebp cf8787cc, eip 0xc0615ad5 <mi_switch+433>: add $0xc,%esp
frame 1 at 0xcf8787cc: ebp cf8787f4, eip 0xc062dcb5 <turnstile_wait+1341>:
pop %ebx
frame 2 at 0xcf8787f4: ebp cf878820, eip 0xc0607d5e <_mtx_lock_sleep+166>:
add $0x18,%esp
frame 3 at 0xcf878820: ebp cf87884c, eip 0xc0607e7c <_mtx_lock_flags+136>:
or $0x8,%esi
frame 4 at 0xcf87884c: ebp cf8788d8, eip 0xc072c488 <ffs_valloc+60>:
mov 0xffffffe8(%ebp),%esi
frame 5 at 0xcf8788d8: ebp cf878a40, eip 0xc075375a <ufs_makeinode+94>:
add $0x10,%esp
frame 6 at 0xcf878a40: ebp cf878a54, eip 0xc0753d9d <ufs_create+37>: test %eax,%eax
frame 7 at 0xcf878a54: ebp cf878b30, eip 0xc066fc38 <vn_open_cred+1400>:
pop %ecx
frame 8 at 0xcf878b30: ebp cf878b4c, eip 0xc066fe9e <vn_open+30>: leave
frame 9 at 0xcf878b4c: ebp cf878cc8, eip 0xc0665f24 <kern_open+192>:
add $0x10,%esp
frame 10 at 0xcf878cc8: ebp cf878cec, eip 0xc0666852 <open+26>: mov %eax,%esi
frame 11 at 0xcf878cec: ebp cf878d40, eip 0xc07b48d0 <syscall+296>: mov %eax,%ebx
> >
> > > Cheers,
> > > Jeff
> > > _______________________________________________
> > > freebsd-current at freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> >
> > --
> > Peter Holm
> > _______________________________________________
> > freebsd-current at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> >
--
Peter Holm
More information about the freebsd-current
mailing list