On Thursday, May 03, 2007, Andrew Morton wrote:
> On Fri, 27 Apr 2007 14:45:30 +0900 KAMEZAWA Hiroyuki
<[email protected]> wrote:
> > Hi, this is version 4. including Lee Schermerhon's good rework.
> > and automatic configuration at boot time.
>
> hm, this adds rather a lot of code. Have we established that it's worth
> it?
>
> And it's complex - how do poor users know what to do with this new
> control?
>
>
> This:
>
> + * = "[dD]efault | "0" - default, automatic configuration.
> + * = "[nN]ode"|"1" - order by node locality,
> + * then zone within node.
> + * = "[zZ]one"|"2" - order by zone, then by locality within zone
>
> seems a bit excessive. I think just the 0/1/2 plus documentation would
> suffice?
>
>
> I haven't followed this discussion very closely I'm afraid. If we came
> up with a good reason why Linux needs this feature then could someone
> please (re)describe it?
I think the idea is to avoid exhausting ZONE_DMA on some NUMA boxes by
ordering the fallback list first by zone, then by node distance (e.g.
ZONE_NORMAL of local node, then ZONE_NORMAL of next nearest node etc.,
followed by ZONE_DMA of local node, ZONE_DMA of next nearest node, etc.).
As for documentation, it would be good if the "default" behavior was
described as well (it's mostly by node first, then by zone iirc, but has a
few other tweaks).
Another option would be to make this behavior automatic if both ZONE_DMA
and ZONE_NORMAL had pages. I initially wrote this stuff with the idea
that machines that really needed it would have all their memory in
ZONE_DMA, but obviously that's not the case, so some more smarts are
needed.
Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]