Re: mm question

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Dec 10 2001 - 13:26:35 EST


> > This makes it rather hard to go around trying to free pages
> > within a certain physical range.
>
> Well, what does kernel do when it runs out of memory ? For example when I
> mmap a large file and start reading it back and force ?

It doesn't care which physical page it gets. Processes being freeing
up/swapping pages they have mappings to. The map counts hit zero and the
page is discarded.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:18 EST