Date: Wed, 15 Feb 2012 23:30:30 -0500 From: Arnaud Lacombe <lacombar@gmail.com> To: Vijay Singh <vijju.singh@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: <CACqU3MUqEz2iTrUQDkbsbC9ta_EpaKcnQj7mAxfevTMFbqGJTA@mail.gmail.com> In-Reply-To: <CALCNsJRVsuRxX6u_oOqymBGhSjCe7EwihiT88PGaiWQbOZ_TxQ@mail.gmail.com> References: <CALCNsJQEyr17UN6f7bz=6Qqs6=j_Otdk66NhUh8HbtbyvacT=Q@mail.gmail.com> <201111081005.43851.jhb@freebsd.org> <CALCNsJRVsuRxX6u_oOqymBGhSjCe7EwihiT88PGaiWQbOZ_TxQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
Hi,
Vijay Singh wrote;
> In the code below:
> (kgdb-amd64-6.8-48) l
> 402 if (c_lock != NULL) {
> 403 if (c_lock == &Giant.lock_object) {
> 404 mtx_lock(&Giant);
> 405 mtx_assert(&Giant, MA_OWNED);
> 406 } else {
> 407 class->lc_lock(c_lock, sharedlock);
> 408 }
>
Out of curiosity, where does your code comes from ? The same snippet
from the `release/8.1.0' branch does not refer to `Giant' at all, it
only reads:
if (c_lock != NULL) {
class->lc_lock(c_lock, sharedlock);
Thanks,
- Arnaud
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACqU3MUqEz2iTrUQDkbsbC9ta_EpaKcnQj7mAxfevTMFbqGJTA>
