Re: shrink_mmap ()?

Rik van Riel (H.H.vanRiel@fys.ruu.nl)
Thu, 26 Mar 1998 14:09:47 +0100 (MET)


On Thu, 26 Mar 1998, Chirayu Patel wrote:

> I was going through the source for shrink_mmap.......
>
> We are freeing a page with count = 1 (referenced by one process only) but
> we are not manipulating any page table entries. Why? Shouldnt we be
> manipulating the page table entries or where are the page table entries
> getting manipulated?
>
> I know I have missed something terribly obvious over here. Can someone
> please help me out.

When the count is 1, the page cache _is_ the only reference to
the page.

Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page | Scouting webmaster |
| - kswapd ask-him & complain-to guy | Vries cubscout leader |
| http://www.fys.ruu.nl/~riel/ | <H.H.vanRiel@fys.ruu.nl> |
+-------------------------------------------+--------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu