Re: [PATCH v2 3/3] NFS: Fix a memory leak in nfs_readdir

From: Andrew Morton
Date: Wed Dec 01 2010 - 20:22:55 EST


On Wed, 1 Dec 2010 17:05:43 -0800
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, Dec 1, 2010 at 3:36 PM, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> > On Wed, 1 Dec 2010 15:31:11 -0800
> > Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> >>
> >> Ergo: vmscan has a locked page leads to the filesystem being
> >> guaranteed to not be unmounted. __And that, in turn, guarantees that
> >> the module won't be unloaded until the machine has gone through an
> >> idle cycle.
> >
> > The page isn't attached to the address_space any more:
>
> Did you even read the email?

We stopped talking about module unload hours ago. That matter is settled.

What we're talking about is races against memory reclaim, unmount, etc.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/