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:
ups 2004-10-12 16:28:18 +00:00
parent 0c8a87fc51
commit 2d1412dc2e

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