freebsd-dev/sys/cddl
Ryan Stone c6024848dd Implement the D "cpu" variable, which returns curcpu. I have chosen not
to follow the example of OpenSolaris and its descendants, which implemented
cpu as an inline that took a value out of curthread.  At certain points in
the FreeBSD scheduler curthread->td_oncpu will no longer be valid (in
particukar, just before the thread gets descheduled) so instead I have
implemented this as its own built-in variable.

Sponsored by:	Sandvine Inc.
MFC after:	1 week
2012-04-26 01:07:03 +00:00
..
boot/zfs - Correctly read gang header from raidz. 2011-10-20 15:42:38 +00:00
compat/opensolaris Fix found places where uio_resid is truncated to int. 2012-02-21 01:05:12 +00:00
contrib/opensolaris Implement the D "cpu" variable, which returns curcpu. I have chosen not 2012-04-26 01:07:03 +00:00
dev Instead of only iterating over the set of known SDT probes when sdt.ko is 2012-03-27 15:07:43 +00:00