freebsd-skq/sys/mips
jchandra 51d69a1aea Fix wakeup latency when sleeping with 'wait'
If we handle an interrupt just before the 'wait' and the interrupt
schedules some work, we need to skip the 'wait' call. The simple solution
of calling sched_runnable() with interrupts disabled immediately before
wait still leaves a window after the call and before 'wait' in which
the same issue can occur.

The solution implemented is to check the EPC in the interrupt handler, and
if it is in a region before the 'wait' call, to fix up the EPC to skip the
wait call.

Reported/analysed by:	adrian
Fix suggested by:	kib

Reviewed by:	jmallett, imp
2011-10-18 16:37:28 +00:00
..
adm5120 - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
alchemy - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
atheros Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. 2011-10-17 19:49:00 +00:00
cavium Add default address for FLASH mapping on the boot bus. 2011-10-04 20:30:15 +00:00
compile
conf Support for booting XLP using FDT. 2011-10-18 08:10:23 +00:00
idt Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. 2011-10-17 19:49:00 +00:00
include Fix wakeup latency when sleeping with 'wait' 2011-10-18 16:37:28 +00:00
malta The i8259 controller is initialized incorrectly on MALTA. It writes 2011-07-16 00:30:23 +00:00
mips Fix wakeup latency when sleeping with 'wait' 2011-10-18 16:37:28 +00:00
nlm Fix XLP compile failure on n32 abi. 2011-10-18 14:05:18 +00:00
rmi Remove duplicate header includes 2011-06-26 10:07:48 +00:00
rt305x Import the initial CPU support for the MIPS RALink RT305x SoC. 2011-04-03 14:39:55 +00:00
sentry5 Remove duplicate header includes 2011-06-26 10:07:48 +00:00
sibyte Remove duplicate header includes 2011-06-26 10:07:48 +00:00