55aabb7fd1
sf buf allocation, use wakeup() instead of wakeup_one() to notify sf buffer waiters about free buffer. sf_buf_alloc() calls msleep(PCATCH) when SFB_CATCH flag was given, and for simultaneous wakeup and signal delivery, msleep() returns EINTR/ERESTART despite the thread was selected for wakeup_one(). As result, we loose a wakeup, and some other waiter will not be woken up. Reported and tested by: az Reviewed by: alc, jhb MFC after: 1 week |
||
---|---|---|
.. | ||
clock.c | ||
copyinout.c | ||
interrupt.c | ||
locore32.S | ||
locore64.S | ||
locore.S | ||
machdep.c | ||
mmu_oea64.c | ||
mmu_oea64.h | ||
mmu_oea.c | ||
moea64_if.m | ||
moea64_native.c | ||
mp_cpudep.c | ||
nexus.c | ||
ofwmagic.S | ||
slb.c | ||
swtch32.S | ||
swtch64.S | ||
trap_subr32.S | ||
trap_subr64.S | ||
trap.c | ||
uma_machdep.c | ||
vm_machdep.c |