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

Re: Fairness in love and swapping



On Thu, 26 Feb 1998, Dr. Werner Fink wrote:

> > Without my mmap-age patch, page cache pages aren't aged
> 
> The age of a page cache page isn't changed if a process took it (?). IMHO that
> means that this age is the starting age of such a process page, isn't it?

No, it means that page-cache pages are swapped out immediately,
without taking the usage pattern into account (except when it
got used just before kswapd did it's scanning).

My mmap-age patch does something to alleviate this, and I'll
make a patch against 2.1.89-pre2 any moment. You can probably
expect it on linux-mm before 0000UT this evening...

Rik.
+-----------------------------+------------------------------+
| For Linux mm-patches, go to | "I'm busy managing memory.." |
| my homepage (via LinuxHQ).  | H.H.vanRiel@fys.ruu.nl       |
| ...submissions welcome...   | http://www.fys.ruu.nl/~riel/ |
+-----------------------------+------------------------------+