Date: Thu, 6 Jan 2000 17:05:41 +0100 (CET)
From: Ingo Molnar <mingo@chiara.csoma.elte.hu>
i think this is pretty much 'type-dependent'. In earlier versions
of the zone allocator i added a zone->memory_balanced() function
(but removed it later because it first needed the things your patch
adds). Then every zone can decide for itself wether it's
balanced. Eg. the DMA zone is rather critical and we want to keep
it free aggressively (part of that is already achieved by placing
it at the end of the zone chain), the highmem zone might not need
any balancing at all, the normal zone wants some high/low watermark
stuff.
Let's be careful not to design any balancing heuristics which will
fall apart on architectures where only one zone ever exists (because
GFP_DMA is completely meaningless).
Later,
David S. Miller
davem@redhat.com
-
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 Jan 07 2000 - 21:00:06 EST