public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* uses of cmpxchg/xadd in spinlock.h and rwsem.h vs. CONFIG_M386
@ 2009-05-12 15:19 Jan Beulich
  2009-05-12 15:37 ` Nick Piggin
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jan Beulich @ 2009-05-12 15:19 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, Nick Piggin, hpa; +Cc: linux-kernel

While looking at a completely different issue I happened to grep for uses of
xadd, and it would appear to me that there got uses added that would make
a M386-configured SMP kernel die on an actual i386.

Oh, for the rwsem case I see - it would use the RWSEM_GENERIC_SPINLOCK case
when selecting M386. But I see nothing similar for the ticket spinlocks - am
I overlooking something?

Jan


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-05-12 16:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-12 15:19 uses of cmpxchg/xadd in spinlock.h and rwsem.h vs. CONFIG_M386 Jan Beulich
2009-05-12 15:37 ` Nick Piggin
2009-05-12 15:57   ` Alan Cox
2009-05-12 16:02   ` Peter Zijlstra
2009-05-12 15:51 ` H. Peter Anvin
2009-05-12 15:57   ` Nick Piggin
2009-05-12 16:04     ` H. Peter Anvin
2009-05-12 16:16       ` Jan Beulich
2009-05-12 16:18 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox