tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pserialize(9) vs. TAILQ



On Sat, Nov 22, 2014 at 2:24 PM, Dennis Ferguson
<dennis.c.ferguson%gmail.com@localhost> 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.


Home | Main Index | Thread Index | Old Index