Panic in 8.1 in softclock(): mutex Giant not owned at
../../../../sys/kern/kern_mutex.c:185
Arnaud Lacombe
lacombar at gmail.com
Thu Feb 16 04:30:31 UTC 2012
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
More information about the freebsd-hackers
mailing list