tech-kern archive

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

Re: Fileassoc locking



On Fri, Jan 01, 2010 at 06:10:07PM +0000, Mindaugas Rasiukevicius wrote:
> For very intensive read-mostly locking, there are alternatives, such
> as read-optimised locks (with a high cost of write-locking), RCU-like
> synchronisation, lockless design or perhaps other tricks.  :)

Be careful about lockless algorithms -- most are as heavy on the bus as
classic mutex/rw locks.

Joerg


Home | Main Index | Thread Index | Old Index