Subject: lockstat for sleepable locks (Re: CVS commit: src/sys/kern)
To: None <email@example.com>
From: YAMAMOTO Takashi <firstname.lastname@example.org>
Date: 09/14/2006 00:24:30
> Module Name: src
> Committed By: ad
> Date: Thu Sep 7 01:08:45 UTC 2006
> Modified Files:
> src/sys/kern: kern_lock.c
> Log Message:
> Track lockmgr() sleep events for lockstat.
> To generate a diff of this commit:
> cvs rdiff -r1.97 -r1.98 src/sys/kern/kern_lock.c
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
ltsleep can move the current lwp to another cpu.
i don't think it makes much sense to compare raw cpu_counter() between cpus.