lkml.org 
[lkml]   [2011]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] vfs: avoid taking locks if inode not in lists
    > Before even taking locks, we can perform an unlocked test to check if
    > inode can possibly be in the lists.
    >
    > On a 2x4x2 machine, a close(socket()) pair can be 200% faster with these
    > changes.

    Great result! Seems simple and obvious to me.

    -Andi



    \
     
     \ /
      Last update: 2011-07-27 19:15    [W:2.176 / U:0.672 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site