>>>>> "rik" == Rik van Riel <riel@conectiva.com.br> writes:
Hi
rik> Also, since kswapd stops when all zones have free_pages
rik> above pages_low and we'll free up to pages_high pages of
rik> one zone, it means that we'll:
rik> - allocate the next series of pages from that one zone
rik> with tons of unused pages
rik> - wake up kswapd so we'll free the *next* unused pages
rik> from that zone when we run out of the current batch
rik> - rinse and repeat
That is what my change to page_alloc does, it makes more probable to
get pages from zones that have more than page_high free pages. That
means that it is less probable to get one zone with less than page_low
free pages and other with a lot of free pages.
Notice that this behaviour happens also in my box where there is no
ISA cards at all, and I have to wait for a page to become free in the
DMA zone. Is there some way to need a DMA page in a machine without
any ISA card? If not, it could be a good Idea to have only one zone
in machines that haven't ISA cards and have less than 1GB of RAM.
Later, Juan.
-- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy- 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:20 EST