Re: [PATCH] Permit inode & dentry hash tables to be allocated > MAX_ORDER size

From: Martin J. Bligh
Date: Fri Jun 11 2004 - 18:07:05 EST


>> (2) Changing MAX_ORDER appears to have a number of effects beyond just
>> limiting the maximum size that can be allocated in one go.
>
> Several architectures implement CONFIG_FORCE_MAX_ZONEORDER and I haven't
> heard of larger MAX_ORDERs causing problems.
>
> Certainly, increasing MAX_ORDER is the simplest solution to the problems
> which you identify so we need to substantiate these "number of effects"
> much more than this please.

We've hit a problem with alignment issues where the start of the zone is
aligned to 16MB, for instance, and the max grouping is now 256MB. That
generatates a "warning: wrong zone alignment: it will crash" error (or
something similar). Andy sent me a patch this morning to throw away
the lower section, which is much nicer than crashing ... but I'd prefer
not to throw that RAM away unless we have to.

Allocating the big-assed hashes out of bootmem seems much cleaner to me,
at least ...

M.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/