Re: [PATCH 2/4] Convert epoll to a bitlock

Davide Libenzi
2009-02-03T23:12:38Z

On Tue, 3 Feb 2009, Davide Libenzi wrote:

> On Tue, 3 Feb 2009, Andrew Morton wrote:
>
> > Well. We _could_ whack part of this nut with my usual hammer: protect
> > f_flags with file->f_dentry->d_inode->i_lock. IIRC there was some
> > objection to that - performance?
>
> If you meant it for epoll, that uses a single shared inode, that'd turn to
> be a global lock.

Course you couldn't have meant it for epoll, so forget about the comment :)

- Davide