version 1.116, 2007/02/22 06:34:43 |
version 1.117, 2007/02/26 09:20:53 |
Line 688 ktrcsw(struct lwp *l, int out, int user) |
|
Line 688 ktrcsw(struct lwp *l, int out, int user) |
|
* Don't record context switches resulting from blocking on |
* Don't record context switches resulting from blocking on |
* locks; it's too easy to get duff results. |
* locks; it's too easy to get duff results. |
*/ |
*/ |
if (l->l_syncobj == &turnstile_syncobj) |
if (l->l_syncobj == &mutex_syncobj || l->l_syncobj == &rw_syncobj) |
return; |
return; |
|
|
/* |
/* |