]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r249514 (by gnn):
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Feb 2014 05:06:43 +0000 (05:06 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Feb 2014 05:06:43 +0000 (05:06 +0000)
commit07d9e379eb44442f64e3f3cf522ad0486e254ee7
tree329a2cc40f00b97dc55c372e584d2aa33508bb17
parentf35d2d6565377b7e996c406dec4342aad671d110
MFC r249514 (by gnn):
Point args[0] not at the thread that is ending but at the one that
is starting.  This is in line with practice in OpenSolaris.

Note that this change is only in ULE and not in the 4BSD scheduler.
Once this change settles in (MFC timeout has expired) we'll try it out
on 4BSD as well.

MFC r260043:
The arguments to sched:::off-cpu are the thread and associated process of
the thread selected to run, not the currently running thread.

git-svn-id: svn://svn.freebsd.org/base/stable/8@262012 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/sched_4bsd.c
sys/kern/sched_ule.c