Searched hist:"55 aabb7fd1e29a71b2f17479476dd290551b15dd" (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/arm/arm/ |
H A D | vm_machdep.c | diff 55aabb7fd1e29a71b2f17479476dd290551b15dd Tue Jan 18 22:57:02 CET 2011 Konstantin Belousov <kib@FreeBSD.org> 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
|
/freebsd/sys/i386/i386/ |
H A D | vm_machdep.c | diff 55aabb7fd1e29a71b2f17479476dd290551b15dd Tue Jan 18 22:57:02 CET 2011 Konstantin Belousov <kib@FreeBSD.org> 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
|