lkml.org 
[lkml]   [2007]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: make SMP locks handling interact properly with CONFIG_DEBUG_RODATA (2nd try)
Dave Jones wrote:
> On Wed, Jul 04, 2007 at 08:41:39AM -0700, Jeremy Fitzhardinge wrote:
>
> > I'd already posted a patch to remove smp alternatives. I thought it had
> > been merged already, but I guess it's in Andi's queue.
>
> What was the rationale behind that? Given many distros have now
> moved to shipping just an SMP kernel, this seems like a step backwards?
>

No, there's two mechanisms. There's the clobber the lock prefix thing,
which is unaffected. And there's smp_alternatives, which was a more
ambitious mechanism to completely replace instructions in the SMP vs
non-SMP cases, which is completely unused and therefore removed.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-04 20:11    [W:0.052 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site