]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[IA64] Limit the maximum NODEDATA_ALIGN() offset
authorJack Steiner <steiner@sgi.com>
Mon, 5 Dec 2005 19:56:50 +0000 (13:56 -0600)
committerTony Luck <tony.luck@intel.com>
Tue, 6 Dec 2005 17:10:37 +0000 (09:10 -0800)
commitacb7f67280128a9ddaa756ff10212391d28caec4
tree2c475d61a7842cf1849a109c5ad5c189f4053aee
parent3ec829b6895092b0686254c315f42642b4a07efc
[IA64] Limit the maximum NODEDATA_ALIGN() offset

The per-node data structures are allocated with strided offsets that are a
function of the node number. This prevents excessive cache-aliasing from
occurring.

On systems with a large number of nodes, the strided offset becomes
too large. This patch restricts the maximum offset to 32MB. This is far larger
than the size of any current L3 cache.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/mm/discontig.c