freebsd-nq/sys/ia64
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 Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
compile
conf Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma 2010-07-28 15:36:12 +00:00
disasm Fix disassembly of the invala, itc, itr and hint instructions 2007-10-16 02:49:40 +00:00
ia32 Prefer struct sysentvec sv_psstrings to hardcoding FREEBSD32_PS_STRINGS 2010-08-07 11:57:13 +00:00
ia64 Put the general logic for being a CPU hog into a new function 2011-02-02 16:35:10 +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
isa Remove isa_irq_pending(). It's not used. 2009-04-24 03:43:20 +00:00
pci Disable interrupts when calling into SAL for PCI configuration 2010-03-22 03:06:11 +00:00