freebsd-skq/sys/powerpc
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
..
aim Add macro to test the sv_flags of any process. Change some places to test 2011-01-26 20:03:58 +00:00
booke Make MSGBUF_SIZE kernel option a loader tunable kern.msgbufsize. 2011-01-21 10:26:26 +00:00
compile
conf Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT is 2011-01-06 14:12:24 +00:00
cpufreq Remove unused variables. Spotted by a cppcheck 2011-01-06 20:19:01 +00:00
fpu The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:07:02 +00:00
include Rename INTR_VEC to MAP_IRQ. From the OFW or FDT we obtain a 2011-02-02 05:58:51 +00:00
mambo Fix the interrupt code, broken 7 months ago. The interrupt framework 2011-01-29 20:58:38 +00:00
mpc85xx Rename INTR_VEC to MAP_IRQ. From the OFW or FDT we obtain a 2011-02-02 05:58:51 +00:00
ofw Rename INTR_VEC to MAP_IRQ. From the OFW or FDT we obtain a 2011-02-02 05:58:51 +00:00
powermac Rename INTR_VEC to MAP_IRQ. From the OFW or FDT we obtain a 2011-02-02 05:58:51 +00:00
powerpc Put the general logic for being a CPU hog into a new function 2011-02-02 16:35:10 +00:00
ps3 Fix the interrupt code, broken 7 months ago. The interrupt framework 2011-01-29 20:58:38 +00:00
psim Fix the interrupt code, broken 7 months ago. The interrupt framework 2011-01-29 20:58:38 +00:00