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

From: Andi Kleen
Date: Fri Jun 11 2004 - 19:23:15 EST


"Martin J. Bligh" <mbligh@xxxxxxxxxxx> writes:
>
> Allocating the big-assed hashes out of bootmem seems much cleaner to me,
> at least ...

Machines big enough that such big hashes make sense are probably NUMA.
And on NUMA systems you imho should rather use node interleaving vmalloc(),
not a bit physical allocation on a specific node for these hashes.
This will avoid memory controller hot spots and avoid the problem completely.
Likely it will perform better too.

-Andi

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