Force MUTEX_WAKE_ALL.
A race condition in single thread wakeup may break priority inheritance. Tested by: pho Reviewed by: jhb,julian Approved by: sam (mentor) MFC: ASAP
This commit is contained in:
parent
f49f4f366b
commit
b9a80acadb
@ -69,6 +69,15 @@ __FBSDID("$FreeBSD$");
|
||||
#include <vm/vm.h>
|
||||
#include <vm/vm_extern.h>
|
||||
|
||||
/*
|
||||
* Force MUTEX_WAKE_ALL for now.
|
||||
* single thread wakeup needs fixes to avoid race conditions with
|
||||
* priority inheritance.
|
||||
*/
|
||||
#ifndef MUTEX_WAKE_ALL
|
||||
#define MUTEX_WAKE_ALL
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Internal utility macros.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user