Re: [patch] SMP alternatives
From: H. Peter Anvin
Date: Wed Nov 23 2005 - 11:52:12 EST
Gerd Knorr wrote:
Patching in/out SMP-locking with more than one active CPU would be a
pretty silly idea in the first place ;)
No, doing this crap with CPU hotplug is a silly idea. Patching on a
real UP system, and then throwing out the tables, makes sense. Keeping
two sets of tables for a minimal performance improvement in a very rare
configuration (CPU hotplug is the exception, not the rule) is just plain
stupid. You probably lose as much performance from the memory hogged up
in the tables as you gain from it, and on every system where you have
the tables at all you take the hit.
-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/