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
0c8a87fc51
commit
2d1412dc2e
@ -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