gilles.chanteperdrix wrote:
> ---------- Debut du message initial -----------
> 
> De     : [EMAIL PROTECTED]
> A      : [email protected]
> Copies : 
> Date   : Mon, 25 Sep 2006 12:44:02 +0200
> Objet  : Re: [Adeos-main] [PATCH+HACK] optimise root stalling
> 
>> Jan Kiszka wrote:
>>> ...
>>> A further idea of mine was to inline light-weight parts of the
>>> __ipipe_*_root API on UP (no SMP at hand to judge on it as
> well).
>> BTW: I haven't looked at any detail yet, but would PER_CPU
> here and
>> there (e.g. for ipipe_percpu_domain) buy us something on SMP
> (2.6)?
> 
> I think to remember that the PER_CPU support uses
> smp_processor_id(), 
> and we know that smp_processor_id() must not be used over Xenomai
> stacks.
> 

Not necessarily: per_cpu(var, cpu) retrieves a variable for the given
cpu without touching smp_processor_id.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Reply via email to