ECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
X-Mailer: VM 6
Arjan van de Ven writes:
> On Sun, 2005-01-16 at 16:06 -0500, Robert Wisniewski wrote:
>
> > :-) - as above. Furthermore, it seems that reducing the places where
> > interrupts are disabled would be a good thing?
>
> depends at the price. On several cpus, disabli
Christoph Hellwig writes:
> On Sun, Jan 16, 2005 at 03:11:00PM -0500, Robert Wisniewski wrote:
> > int global_val;
> >
> > modify_val_spin()
> > {
> >acquire_spin_lock()
> >// calculate some_value based on global_val
> >// for examp
Andrew Morton writes:
> Robert Wisniewski <[EMAIL PROTECTED]> wrote:
> >
> > modify_val_spin()
> > {
> >acquire_spin_lock()
> >// calculate some_value based on global_val
> >// for example c=global_val; if (c%0) some_value=10; else s
kless is the same primitive regardless of your current state,
> it's not the same as spinlocks.
>
> Karim
> --
> Author, Speaker, Developer, Consultant
> Pushing Embedded and Real-Time Linux Systems Beyond the Limits
> http://www.opersys.com || [EMAIL PROTEC
as was originally coded the
reason we clobbered the registers) is to make sure the compiler knows the
index value needs to get reloaded from memory each time around the loop.
Hope this helps. I'm certainly happy to discuss in more length if there's
any concerns/questions.
-bob
Robert Wisniewski
6 matches
Mail list logo