Re: shrink_mmap() change in ac-21

From: Manfred Spraul (manfred@colorfullife.com)
Date: Tue Jun 20 2000 - 11:14:33 EST


From: "Zlatko Calusic" <zlatko@iskon.hr>
>
> Simple mathematics: On a 128MB machine, DMA zone is 16MB, thus NORMAL
> zone is 112MB. 112/16 = 7. So statistically, for every DMA page freed,
> we free another SEVEN! pages from the NORMAL zone. And we won't stop
> doing such a genocide until DMA zone recovers.
>
I'm also concerned about 1GB boxes:
the highmem zone only contains ~ 64 MB (or 128?), and so most allocations go
into a tiny zone and are then "downgraded" to GFP_NORMAL.

Perhaps we should switch to per-zone lru lists?

--
    Manfred

- 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