Date: Thu, 31 Jul 2003 11:45:43 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 35276 for review Message-ID: <200307311845.h6VIjhS2091397@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=35276 Change 35276 by jhb@jhb_laptop on 2003/07/31 11:45:34 Use td_oncpu rather than ke_oncpu. Affected files ... .. //depot/projects/smpng/sys/kern/subr_witness.c#101 edit Differences ... ==== //depot/projects/smpng/sys/kern/subr_witness.c#101 (text+ko) ==== @@ -1617,10 +1617,9 @@ struct lock_instance *instance; struct pcpu *pc; - if (owner->td_critnest == 0 || owner->td_kse != NULL || - owner->td_kse->ke_oncpu == NOCPU) + if (owner->td_critnest == 0 || owner->td_oncpu == NOCPU) return; - pc = pcpu_find(owner->td_kse->ke_oncpu); + pc = pcpu_find(owner->td_oncpu); instance = find_instance(pc->pc_spinlocks, lock); if (instance != NULL) witness_list_lock(instance);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307311845.h6VIjhS2091397>