Re: shrink_mmap() change in ac-21

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Mon Jun 19 2000 - 16:46:27 EST


Zlatko Calusic wrote:
> The shrink_mmap() change in your latest prepatch (ac12) doesn't look
> very healthy. Removing the test for the wrong zone we effectively
> discard lots of wrong pages before we get to the right one. That is
> effectively flushing the page cache and we have unbalanced system.

You know, there may be some sense in removing pages from the wrong zone,
if those wrong zones are quite full. If the DMA zone desparately needs
free pages and keeps needing them, isn't it good to encourage future
non-DMA allocations to use another zone? Removing pages from other
zones is one way to achieve that.

-- Jamie

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



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:18 EST