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

From: Peter Zijlstra
Date: Mon Jul 11 2005 - 03:39:02 EST


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@xxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/