freebsd-nq/sys/sparc64
Konstantin Belousov 55aabb7fd1 For architectures not using direct map , and requiring real KVA page for
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
2011-01-18 21:57:02 +00:00
..
central
compile
conf Now userland POSIX semaphore is based on umtx. The kernel module 2010-09-24 09:04:16 +00:00
ebus
fhc
include Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). 2011-01-17 22:58:28 +00:00
isa
pci Inherit the APB and the generic OFW PCI-PCI bridge driver from the generic 2011-01-04 16:21:14 +00:00
sbus Reserve INTR_MD[1-4] similarly to what BUS_DMA_BUS[1-4] are intended for 2011-01-04 16:11:32 +00:00
sparc64 For architectures not using direct map , and requiring real KVA page for 2011-01-18 21:57:02 +00:00