Gmail Calendar Documenti Reader Web altro »
Gruppi visitati di recente | Guida | Entra
Home page di Google Gruppi
Android patches add SMP support for ARM Cortex-A9 MP
Al momento sono presenti troppi argomenti in questo gruppo da visualizzare per primi. Per visualizzare questo argomento per primo, rimuovi questa opzione da un altro argomento.
Si è verificato un errore durante l'elaborazione della tua richiesta. Riprova.
contrassegno
  2 messaggi - Espandi tutto  -  Traduci tutto in Tradotto (Visualizza tutti gli originali)
Il gruppo nel quale stai postando è un gruppo Usenet. I messaggi postati in questo gruppo rendono la tua email visibile a chiunque su Internet
Il messaggio di risposta non è stato inviato.
Post riuscito
 
Da:
A:
Cc:
Risposta a:
Aggiungi Cc | Aggiungi Followup-to | Modifica oggetto
Oggetto:
Convalida:
A scopo di verifica, digita i caratteri visualizzati nell'immagine qui di seguito o i numeri pronunciati quando fai clic sull'icona per l'accesso facilitato. Ascolta e digita i numeri che senti
 
Andrea Gallo  
Vedi profilo   Traduci in Tradotto (Visualizza originale)
 Altre opzioni 28 Ago 2009, 17:57
Da: Andrea Gallo <andrea.ga...@stericsson.com>
Data: Fri, 28 Aug 2009 08:57:10 -0700 (PDT)
Locale: Ven 28 Ago 2009 17:57
Oggetto: Android patches add SMP support for ARM Cortex-A9 MP
We are porting Android to the ST-Ericsson U8500 chipset, which
contains a dual ARM Cortex A9 SMP CPU subsystem.

In order to enable Android to run on ARM SMP, we have applied an
initial set of simple modifications that we have already submitted
into Gerrit for code review:

Change id 11088 11089 11090 11092

These patches are actually of more general use for ARM v6 and v7 (i.e.
ARM11, ARM Cortex A8/A9) architectures.  In particular they replace
the deprecated use of the 'swp' instruction in the bionic library with
ldrex/strex instructions, plus use is made of the TLS (Thread Local
Storage) register, instead of using the "magic" memory location in the
vector page.  Memory barrier instructions are also added to enforce
memory consistency when using t __atomic_swap in bionics, and when
setting the TLS register.  More details on these changes are
illustrated in the submitted patches above.

With these modifications, Andorid runs successfully in our SMP
platform, including Dalvik applications, browsing, media play.  We
haven't observed any regression compared to single-core execution, nor
instabilities of any kind.  Both cores are active of course, so that
the CPU load is balanced between the cores as expected, in multi-task/
multi-threaded conditions.

There are however several places in the Android sources where SMP
safeness is not clear, in particular after an initial scan, we found
that memory barriers are potentially missing in these places:

frameworks/base/libs/surfaceflinger/Barrier.h:32
bionic/libc/include/sys/cdefs.h:276
dalvik/vm/Atomic.h:34
external/tremor/Tremor/misc.h (#define MB())

plus probably others that we haven't found yet.

We keep working on our SMP port, and so we will do further testing and
more systematic checks of the places were SMP safeness is potentially
missing, updating the community on our findings of course.  We
encourage and welcome any help on SMP safeness and optimization.

These patches have been posted in Gerrit by Vinay Harugop from ST-
Ericsson on behalf of Surinder-pal Singh from STMicroelectronics, who
has identified and developed them on ST-Ericsson U8500 platform.

Best regards


    Inoltra  
Devi eseguire l'accesso prima di poter postare i messaggi.
Per pubblicare un messaggio è necessario, innanzitutto, partecipare a questo gruppo.
Aggiorna il tuo nickname nella pagina delle impostazioni dell'iscrizione prima di postare i messaggi.
Non sei autorizzato a postare messaggi.
fadden  
Vedi profilo   Traduci in Tradotto (Visualizza originale)
 Altre opzioni 28 Ago 2009, 21:48
Da: fadden <fad...@android.com>
Data: Fri, 28 Aug 2009 12:48:46 -0700 (PDT)
Locale: Ven 28 Ago 2009 21:48
Oggetto: Re: Android patches add SMP support for ARM Cortex-A9 MP
On Aug 28, 8:57 am, Andrea Gallo <andrea.ga...@stericsson.com> wrote:

> With these modifications, Andorid runs successfully in our SMP
> platform, including Dalvik applications, browsing, media play.  We
> haven't observed any regression compared to single-core execution, nor
> instabilities of any kind.

Very cool.

> There are however several places in the Android sources where SMP
> safeness is not clear, in particular after an initial scan, we found
> that memory barriers are potentially missing in these places:
[...]
> dalvik/vm/Atomic.h:34

In addition to the incompletely defined memory barrier macro, there
are undoubtedly places in the VM code where memory barriers should be
used but aren't.  Unfortunately that's going to require a bit of
concentrated effort to fix.

    Inoltra  
Devi eseguire l'accesso prima di poter postare i messaggi.
Per pubblicare un messaggio è necessario, innanzitutto, partecipare a questo gruppo.
Aggiorna il tuo nickname nella pagina delle impostazioni dell'iscrizione prima di postare i messaggi.
Non sei autorizzato a postare messaggi.
Fine dei messaggi
« Torna alle discussioni « Argomento più recente     Argomento meno recente »

Crea un gruppo - Google Gruppi - Home page di Google - Termini di servizio - Norme sulla privacy
©2010 Google