Re: [PATCH 2/4] Convert epoll to a bitlock
From: Davide Libenzi
Date: Tue Feb 03 2009 - 18:12:39 EST
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
--
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/