freebsd-nq/sys/amd64
Matthew D Fleming 08b163fa51 Put the general logic for being a CPU hog into a new function
should_yield().  Use this in various places.  Encapsulate the common
case of check-and-yield into a new function maybe_yield().

Change several checks for a magic number of iterations to use
should_yield() instead.

MFC after:	1 week
2011-02-02 16:35:10 +00:00
..
acpica sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. 2011-01-12 19:54:19 +00:00
amd64 Put the general logic for being a CPU hog into a new function 2011-02-02 16:35:10 +00:00
compile
conf Add options NO_ADAPTIVE_SX to the XENHVM kernel configuration, matching 2010-12-13 12:15:46 +00:00
ia32 Remove redundant, bogus, and even harmful uses of setting TS bit in CR0. 2011-01-14 21:09:01 +00:00
include Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). 2011-01-17 22:58:28 +00:00
linux32 Regen for r218101. 2011-01-30 20:38:26 +00:00
pci number of cleanups in i386 and amd64 pci md code 2009-09-24 07:11:23 +00:00
Makefile Adjustments to make a tags file a bit more suitable to amd64. 2008-12-01 14:15:10 +00:00