PERFORCE change 28721 for review
John Baldwin
jhb at FreeBSD.org
Thu Apr 10 11:44:52 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28721
Change 28721 by jhb at jhb_laptop on 2003/04/10 11:44:16
Add an eerie assertion that if it proves true will justify the
removal of sched_lock around the TDF_DEADLKTREAT flag.
Affected files ...
.. //depot/projects/smpng/sys/kern/kern_lock.c#24 edit
Differences ...
==== //depot/projects/smpng/sys/kern/kern_lock.c#24 (text+ko) ====
@@ -229,8 +229,10 @@
error = 0;
if (td == NULL)
thr = LK_KERNPROC;
- else
+ else {
+ MPASS(td == curthread);
thr = td;
+ }
if ((flags & LK_INTERNAL) == 0)
mtx_lock(lkp->lk_interlock);
More information about the p4-projects
mailing list