Date: Sun, 26 Nov 2017 22:11:21 +0100 From: Mateusz Guzik <mjguzik@gmail.com> To: Peter Holm <peter@holm.cc> Cc: Mateusz Guzik <mjg@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r326200 - head/sys/kern Message-ID: <CAGudoHGzi08_Th3DDkyMSWG006akL=fhF08SfZzgE2CBCA1H4Q@mail.gmail.com> In-Reply-To: <20171126064927.GA68986@x2.osted.lan> References: <201711252049.vAPKnRaA026691@repo.freebsd.org> <20171126064927.GA68986@x2.osted.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 26, 2017 at 7:49 AM, Peter Holm <peter@holm.cc> wrote: > On Sat, Nov 25, 2017 at 08:49:27PM +0000, Mateusz Guzik wrote: > > Author: mjg > > Date: Sat Nov 25 20:49:27 2017 > > New Revision: 326200 > > URL: https://svnweb.freebsd.org/changeset/base/326200 > > > > Log: > > Add the missing lockstat check for thread lock. > > > > Modified: > > head/sys/kern/kern_mutex.c > > > > Modified: head/sys/kern/kern_mutex.c > > ============================================================ > ================== > > --- head/sys/kern/kern_mutex.c Sat Nov 25 20:37:13 2017 > (r326199) > > Hi Mateusz, > > Could this be yours? > > spin lock 0xffffffff81ddc100 (turnstile chain) held by 0xfffff80014e57000 > (tid 100277) too long > panic: spin lock held too long > cpuid = 20 > time = 1511677687 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe104f86ea40 > vpanic() at vpanic+0x268/frame 0xfffffe104f86eb10 > kproc_shutdown() at kproc_shutdown/frame 0xfffffe104f86eb70 > _mtx_lock_spin_failed() at _mtx_lock_spin_failed+0x87/frame > 0xfffffe104f86eba0 > _mtx_lock_spin_cookie() at _mtx_lock_spin_cookie+0x4ba/frame > 0xfffffe104f86ed10 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0x21f/frame > 0xfffffe104f86edb0 > turnstile_trywait() at turnstile_trywait+0x32/frame 0xfffffe104f86edd0 > __rw_rlock_hard() at __rw_rlock_hard+0x118/frame 0xfffffe104f86ee60 > __rw_rlock_int() at __rw_rlock_int+0xd5/frame 0xfffffe104f86ee90 > getblk() at getblk+0xdb/frame 0xfffffe104f86ef40 > breadn_flags() at breadn_flags+0x6e/frame 0xfffffe104f86eff0 > ffs_getcg() at ffs_getcg+0x20d/frame 0xfffffe104f86f0d0 > ffs_nodealloccg() at ffs_nodealloccg+0xd0/frame 0xfffffe104f86f210 > ffs_hashalloc() at ffs_hashalloc+0xb7/frame 0xfffffe104f86f290 > ffs_valloc() at ffs_valloc+0x1c1/frame 0xfffffe104f86f390 > ufs_makeinode() at ufs_makeinode+0xba/frame 0xfffffe104f86f520 > ufs_create() at ufs_create+0x34/frame 0xfffffe104f86f540 > VOP_CREATE_APV() at VOP_CREATE_APV+0x241/frame 0xfffffe104f86f5c0 > VOP_CREATE() at VOP_CREATE+0x59/frame 0xfffffe104f86f620 > vn_open_cred() at vn_open_cred+0x311/frame 0xfffffe104f86f770 > vn_open() at vn_open+0x4c/frame 0xfffffe104f86f7b0 > kern_openat() at kern_openat+0x212/frame 0xfffffe104f86f920 > syscallenter() at syscallenter+0x4e4/frame 0xfffffe104f86f9f0 > amd64_syscall() at amd64_syscall+0x4d/frame 0xfffffe104f86fab0 > > https://people.freebsd.org/~pho/stress/log/mateusz004.txt > > - Peter > Fixed in r326237. -- Mateusz Guzik <mjguzik gmail.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGudoHGzi08_Th3DDkyMSWG006akL=fhF08SfZzgE2CBCA1H4Q>