[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shrink_mmap ()?



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