[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1238448816.4073.265.camel@laptop>
Date: Mon, 30 Mar 2009 23:33:36 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Eric Paris <eparis@...hat.com>, linux-kernel@...r.kernel.org,
mingo@...e.hu, balbir@...ux.vnet.ibm.com,
linux-fsdevel@...r.kernel.org, aviro@...hat.com
Subject: Re: [PATCH] make inotify event handles use GFP_NOFS
On Mon, 2009-03-30 at 14:26 -0700, Andrew Morton wrote:
> On Wed, 18 Mar 2009 14:27:32 -0400
> Eric Paris <eparis@...hat.com> wrote:
>
> > I think this is a bandaide to shut up lockdep. I could either figure
> > out lockdep classes and figure out how to reclassify inotify locks since
> > I believe Nick is correct when he says inotify watches pin the inode in
> > core so memory pressure can't evict it.
>
> It's pretty sad to degrading the strength of the memory allocation just
> to squish a lockdep report.
Yeah, I agree, its the wrong thing to do. lockdep annotations really
aren't that hard -- also, you could also talk me through it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists