attilio 1521eb4479 Avoid to check the same cache line/variable from all the locking
primitives by breaking stop_scheduler into a per-thread variable.
Also, store the new td_stopsched very close to td_*locks members as
they will be accessed mostly in the same codepaths as td_stopsched and
this results in avoiding a further cache-line pollution, possibly.

STOP_SCHEDULER() was pondered to use a new 'thread' argument, in order to
take advantage of already cached curthread, but in the end there should
not really be a performance benefit, while introducing a KPI breakage.

In collabouration with:	flo
Reviewed by:	avg
MFC after:	3 months (or never)
X-MFC:		r228424
2012-01-28 14:00:21 +00:00
..
2012-01-15 13:23:18 +00:00
2011-10-13 20:06:19 +00:00
2011-12-17 10:23:17 +00:00
2011-12-17 10:23:17 +00:00
2011-12-23 01:39:10 +00:00
2011-12-16 02:09:51 +00:00
2011-11-23 20:27:26 +00:00
2011-12-15 06:29:13 +00:00
2012-01-10 20:52:02 +00:00
2012-01-15 13:23:18 +00:00
2012-01-15 13:23:43 +00:00
2012-01-25 04:48:27 +00:00
2012-01-15 13:23:43 +00:00
2011-12-17 10:23:17 +00:00
2011-12-17 10:23:17 +00:00
2012-01-26 09:55:16 +00:00
2011-10-18 08:09:44 +00:00
2011-12-17 10:23:17 +00:00
2011-12-17 10:23:17 +00:00
2012-01-02 12:12:10 +00:00
2012-01-26 09:55:16 +00:00
2012-01-11 15:00:16 +00:00
2012-01-15 13:23:43 +00:00
2012-01-15 13:23:18 +00:00
2011-12-17 10:23:17 +00:00
2011-10-07 08:59:54 +00:00
2012-01-15 13:23:18 +00:00
2011-12-15 05:07:16 +00:00
2011-12-15 06:29:13 +00:00
2012-01-16 06:00:44 +00:00
2011-12-22 15:13:32 +00:00
2011-10-18 08:09:44 +00:00
2011-11-23 05:34:01 +00:00
2011-12-17 10:23:17 +00:00
2012-01-26 16:35:09 +00:00
2011-11-23 20:27:26 +00:00