Re: Linux 2.4.30-rc3 md/ext3 problems (ext3 gurus : please check)
From: Andrew Morton
Date: Mon Apr 11 2005 - 15:49:15 EST
"Stephen C. Tweedie" <sct@xxxxxxxxxx> wrote:
>
> Andrew, what was the exact illegal state of the pages you were seeing
> when fixing that recent leak? It looks like it's nothing more complex
> than dirty buffers on an anon page.
Correct.
> I think that simply calling
> try_to_release_page() for all the remaining buffers at umount time will
Presumably these pages have no ->mapping, so try_to_release_page() will
call try_to_free_buffers().
> be enough to catch these; if that function fails, it tells us that the
> VM can't reclaim these pages.
Yes, if the buffers are dirty then 2.4's try_to_free_buffers() won't free
them.
> The only thing that would be required on
> top of that would be a check that the page is also on the VM LRU lists.
Why do we have dirty buffers left over at umount time?
-
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/