Re: mapped pages

Raghu R. Arur
2003-08-27T16:09:52Z

So this means that I need to use try_to_release_page() on only those
mapped pages that have page->buffer non-null. Otherwise releasepage
functions of the address space crash. And if I have to return a mapped
page to the freelist that have page->buffer null, i just have to do
__remove_inode_page. I am speaking in the context of 2.4 kernel. Am I
right.

Thanks a lot,
Raghu

On Wed, 27 Aug 2003, William Lee Irwin III wrote:

> On Wed, Aug 27, 2003 at 11:55:09AM -0400, Raghu R. Arur wrote:
> > Do all mapped pages have buffers? Is there a possibility that a mapped
> > page to have its page->buffer to be NULL
>
> No to the first question, yes to the second.
>
> -- wli
>