lkml.org 
[lkml]   [2009]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/4] Convert epoll to a bitlock
Date
On Wednesday 04 February 2009 18:13:20 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?

Ah, yes I was going to say that too, but I confused i_lock with i_mutex
because it sounded like Jon needed a sleeping lock here?

Agree f_lock would be good. It might come in handy for other things too.



\
 
 \ /
  Last update: 2009-02-04 08:23    [W:0.077 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site