Re: How to reclaim inode pages on demand

From: Andrew Morton
Date: Wed Aug 10 2005 - 12:54:35 EST


Mel Gorman <mel@xxxxxxxxx> wrote:
>
> > Well there are conditions in which mmapped file pages can get converted to
> > anonymous pages due to truncate(), but I have a feeling that we stopped
> > that from happening.
> >
>
> Does that also apply to when a file is unlinked rather than truncated?

Yup. unlink() does truncate if it unlinked the final link.

> In case it is journalling-related, I am going to rerun the tests on an
> ext2 filesystem over the weekend.

Good idea.

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