linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* SMP on linux with Microblaze?
@ 2007-12-03 20:06 khollan
  2007-12-03 21:18 ` John Williams
  0 siblings, 1 reply; 2+ messages in thread
From: khollan @ 2007-12-03 20:06 UTC (permalink / raw)
  To: linuxppc-embedded


Now that Full Linux can run on Microblaze with the addition of the MMU, are
there plans to enable Symmetric Multi-Processing of two or more Microblaze
cores running Linux?
-- 
View this message in context: http://www.nabble.com/SMP-on-linux-with-Microblaze--tf4939013.html#a14137760
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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

* Re: SMP on linux with Microblaze?
  2007-12-03 20:06 SMP on linux with Microblaze? khollan
@ 2007-12-03 21:18 ` John Williams
  0 siblings, 0 replies; 2+ messages in thread
From: John Williams @ 2007-12-03 21:18 UTC (permalink / raw)
  To: khollan; +Cc: linuxppc-embedded

Hi,

khollan wrote:

>Now that Full Linux can run on Microblaze with the addition of the MMU, are
>there plans to enable Symmetric Multi-Processing of two or more Microblaze
>cores running Linux?
>  
>
This isn't really the right list for direct microblaze discussion, but
since you asked..  The challenge with SMP is not an MMU, but cache
coherency.  This is why native SMP on dual PPC on V4/V5 is also a
non-starter.  It is possible to build software driven snoop/invalidate
mechanisms that might allow a crippled SMP on MicroBlaze, but I think
the performance would be pretty nasty. 

The Blackfin Linux team have done some interesting things towards SMP on
non cache-coherent dual CPUs.  Basically they do a local cache
invalidation upon acquiring any kernel lock, on the theory that if you
are accessing a shared data structure you will grab a lock first.  Thus,
the cache flush will make sure you get the "true" value, not some stale
locally cached result.  But, it's still pretty inefficient, and cannot
do things like processor affinity and process migration.  Google the
bfin lists for details and patches.

Regards,

John

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

end of thread, other threads:[~2007-12-03 22:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-03 20:06 SMP on linux with Microblaze? khollan
2007-12-03 21:18 ` John Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).