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

- From: Davide Libenzi \<hidden\>
- Date: 2009-02-03 23:09:51 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2009/02/1204821
- Thread: https://ratatoskr.run/linux-api/2009/02/1204127/t.md

```text
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.


- Davide


--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
