Re: cache limit

From: Andrew Morton
Date: Tue Aug 19 2003 - 04:18:55 EST


"J.A. Magallon" <jamagallon@xxxxxxx> wrote:
>
> > It was not. Instead we have fadvise. So it would be appropriate to change
>
> Does this work in 2.4 ?
> If not, any patch flying around ?

No. It would be fairly messy to implement in 2.4 because 2.4 does not have
the per-inode radix trees for pagecache. The implementation would need to
walk every page attached to the inode just to shoot down a single page.
And all of it underneath the global pagecache lock.

But it is certainly possible.

-
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/