Date: Wed, 15 Feb 2012 20:34:59 -0800 From: Vijay Singh <vijju.singh@gmail.com> To: Arnaud Lacombe <lacombar@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Panic in 8.1 in softclock(): mutex Giant not owned at ../../../../sys/kern/kern_mutex.c:185 Message-ID: <CALCNsJQ7pGsrcgck9dn-EJ1u7Lc9-KaMpo=82ABE4E7o2D8Xuw@mail.gmail.com> In-Reply-To: <CACqU3MUqEz2iTrUQDkbsbC9ta_EpaKcnQj7mAxfevTMFbqGJTA@mail.gmail.com> References: <CALCNsJQEyr17UN6f7bz=6Qqs6=j_Otdk66NhUh8HbtbyvacT=Q@mail.gmail.com> <201111081005.43851.jhb@freebsd.org> <CALCNsJRVsuRxX6u_oOqymBGhSjCe7EwihiT88PGaiWQbOZ_TxQ@mail.gmail.com> <CACqU3MUqEz2iTrUQDkbsbC9ta_EpaKcnQj7mAxfevTMFbqGJTA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Out of curiosity, where does your code comes from ? The same snippet > from the =A0`release/8.1.0' branch does not refer to `Giant' at all, it > only reads: > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (c_lock !=3D NULL) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 class->lc_lock(c_lock, shared= lock); Arnaud, I added that code to track down the issue. I was originally hitting the panic much later after the callout had been executed. -vijay
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCNsJQ7pGsrcgck9dn-EJ1u7Lc9-KaMpo=82ABE4E7o2D8Xuw>