Re: [PATCH 1/1] x86: fix text_poke

From: H. Peter Anvin
Date: Fri Apr 25 2008 - 12:05:34 EST


Ingo Molnar wrote:

text_poke() itself only applies/unapplies the LOCK prefix - a single byte. We shouldnt be doing that at all: the cost of LOCK is insignificant (a few cycles) and most systems are SMP anyway.


Alas, on older CPUs the cost of LOCK can be massive. The question is how much we really care - the embedded people (who would definitely be affected) will simply build UP kernels, and this only affects booting SMP kernels on UP.

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