Re: ext3-0.9.15 against linux-2.4.14

Andrew Morton (akpm@zip.com.au)
Wed, 07 Nov 2001 09:59:50 -0800


Stephen Tweedie wrote:
>
> Andrew, the code
>
> if (page->buffers) {
> /*
> * Anonymous buffercache page left behind by
> * truncate.
> */
> printk(__FUNCTION__ ": page has buffers!\n");
> goto preserve;
> }
>
> is going to end up preserving the pte forever and shouting to syslog
> every time the VM walks over the pte in question. I'd be just as
> happy dropping these ptes on the floor when we find them, as they are
> clearly of no use to anybody at this point.
>

Yes, perhaps we could do something smarter - I wasn't even sure it
was possible to hit any more (still waiting to hear back from
Steve Hirsch!)

The idea is that in this rare case, shrink_cache() will at
some later time revisit the page and again try to remove its
buffers, and will succeed. It's still on the LRU.

We definitely need to kill the printk(), but I really want
to get to test this code path locally.

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