On Sat, Nov 22, 2014 at 2:24 PM, Dennis Ferguson
<dennis.c.fergu...@gmail.com> wrote:
> I'll guess one problem is in sparc/mutex.h, here:
>
>     #define MUTEX_RECEIVE(mtx)              /* nothing */
>     #define MUTEX_GIVE(mtx)                 /* nothing */

I think that these macros should be replaced with
membar_enter()/member_exit() respectively in sys/kern/kern_mutex.c.

The only reason, which I can think of, that these exist is these
predate membar ops.

Reply via email to