tech-kern archive

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

Re: 4.x -> 5.x locking?



On Wed, Nov 09, 2011 at 02:40:19AM -0500, Mouse wrote:
>       membar_sync();
>       mutex_exit(mtx);

mutex_enter and mutex_exit are implicit memory barriers (reads and
writes respectively are not allowed to be reordered).

Joerg


Home | Main Index | Thread Index | Old Index