On 25/03/2010 14:08, erik quanstrom wrote:
http://lwn.net/Articles/378219/
        "[...] anything which combines tricky locking
        and 30-line preprocessor macros is going to raise eyebrows.
        But the core concept here is simple: [...]

oh, really?

- erik


Trying to acquire one lock per CPU will work just dandy.

> One such case - the target for this new lock - is vfsmount_lock, which is required (for read access) in pathname lookup operations. Lookups are frequent events, and are clearly performance-critical. On the other hand, write access is only needed when filesystems are being mounted or unmounted - a much rarer occurrence. So a brlock is a good fit here, and one small piece (out of many) of the VFS scalability puzzle has been put into place.


bye bye private Linux namespaces, it wasn't even nice knowing you



Reply via email to