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. Thank you Eric Dumazet [PATCH] eventpoll : Suppress a short lived lock from struct file Signed-off-by: Eric Dumazet