Re: [patch] tlb flush_data: replace per_cpu with an array

From: H. Peter Anvin
Date: Mon Jan 12 2009 - 17:59:37 EST


Ingo Molnar wrote:

Nope it doesn't save memory on most systems because per cpu is only allocated based on the CPUs that are actually there. And if you have more than 8 cores you can likely afford a few bytes per CPU.

No distro kernel will build with less than 8 CPUs anyway so this point is moot.

Except for embedded, which will build for exactly what's in the box.

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