Re: shrink_mmap() change in ac-21

Manfred Spraul
2000-06-20T16:14:33Z

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