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:
Stephan Uphoff 2004-10-12 16:28:18 +00:00
parent f49f4f366b
commit b9a80acadb

View File

@ -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.
*/