Re: [RFC PATCH] x86 alternatives : fix LOCK_PREFIX race with preemptiblekernel and CPU hotplug

From: Roland McGrath
Date: Wed Aug 13 2008 - 21:26:57 EST


> That said, I wonder how useful it is to do the SMP->UP code transition.
> How often does a kernel go from being SMP to UP in a situation where we
> really care about the performance? And that won't be shortly be
> becoming SMP again anyway?

I agree, it only seems worthwhile to do this substitution when from the
config+hardware it's determined at boot that nr_cpus_possible==1 (i.e. no
CPU hotplug possibility).


Thanks,
Roland
--
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/