tech-kern archive

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

Re: FYI: mb(9) API is finally going away



The mb(9) API is now gone, except within sys/arch/mips where it is
used inside __cpu_simple_lock -- there were too many ifdefs across
components for me to disentangle, and the logic seems to be completely
bonkers, e.g. on Octeon __cpu_simple_unlock issues a memory barrier
_after_ the store to release the lock which makes no sense.


Home | Main Index | Thread Index | Old Index