lkml.org 
[lkml]   [2011]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/14] fsnotify: simplify locking
From
Date
On Wed, 2011-01-19 at 17:42 +0100, Lino Sanfilippo wrote:

> The main goal of these patches is to change the locking order to
>
> group->mark_lock
> inode->i_lock
> mark->lock

There was a LOT of thought that went into the object locking and
lifetime to make sure it was safe, but I agree it is, ummm, complex.
I'll look at these patches but offhand I seem to recall that (by
definition) inode->i_lock was always supposed to be the smallest lock
ever held. I added Al a VFS guy, who might veto these patches just on
that alone......

-Eric



\
 
 \ /
  Last update: 2011-01-19 18:15    [W:0.046 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site