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

Re: memory limitation test kit (tm) :-)



On Thu, 26 Feb 1998, Stephen C. Tweedie wrote:

> > I've made a 'very preliminary' test patch to test
> > whether memory limitation / quotation might work.
> 
> Running a single task which has a perfectly reasonable resident set
> larger than num_physpages/2 will thrash unnecessarily.

I know... The patch was just meant as a "look it works ...
euhm, nope" type of eye-opener. Once the swap cache and
inactive list infrastructure is in place, we should replace
RSS limit with active limit, ie. the maximum number of active
pages a process is allowed to have. Then we can do effective
and harmless RSS limitation.

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