Re: [PATCH] eventpoll : Suppress a short lived lock from struct file

Peter Zijlstra
2005-07-11T08:36:54Z

On Mon, 2005-07-11 at 09:18 +0200, Eric Dumazet wrote:
> Hi Davide
>
> I found in my tests that there is no need to have a f_ep_lock spinlock
> attached to each struct file, using 8 bytes on 64bits platforms. The
> lock is hold for a very short time period and can be global, with almost
> no change in performance for applications using epoll, and a gain for
> all others.
>

Have you tested the impact of this change on big SMP/NUMA machines?
I hate to see an Altrix crashing to its knees :-)

--
Peter Zijlstra <a.p.zijlstra@chello.nl>