freebsd-dev/cddl/contrib/opensolaris
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
..
cmd Add -u option to 'zfs create' that prevents file system from being 2012-04-24 13:44:46 +00:00
common MFV OpenSolaris DTrace userland bits. 2010-08-02 13:40:53 +00:00
head thr_create: new_thread_ID may be NULL 2011-10-21 13:54:58 +00:00
lib Implement the D "cpu" variable, which returns curcpu. I have chosen not 2012-04-26 01:07:03 +00:00
tools/ctf Maintain target's byte order for multi-byte fields in CTF structures. 2012-03-24 01:47:33 +00:00
OPENSOLARIS.LICENSE Now that we have CDDLed code in the tree, add CDDL license. 2007-09-23 07:04:50 +00:00