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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to