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

- From: Davide Libenzi \<hidden\>
- Date: 2009-02-04 16:52:00 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2009/02/1205267
- Thread: https://ratatoskr.run/linux-api/2009/02/1204127/t.md

```text
On Wed, 4 Feb 2009, Christoph Hellwig wrote:

> On Tue, Feb 03, 2009 at 04:19:31PM -0700, Jonathan Corbet wrote:
> >  1) Use i_lock to protect accesses to f_flags.  This would enable some 
> >     BKL usage to be removed, but would not fix fasync.
> 
> What about just turning f_ep_lock into f_lock and using it?

Looks like a good idea.


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