Re: 2.6.11-rc1-mm1

2005-01-17 Thread Robert Wisniewski
ECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> X-Mailer: VM 6

Re: 2.6.11-rc1-mm1

2005-01-17 Thread Robert Wisniewski
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

Re: 2.6.11-rc1-mm1

2005-01-16 Thread Robert Wisniewski
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

Re: 2.6.11-rc1-mm1

2005-01-16 Thread Robert Wisniewski
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

Re: 2.6.11-rc1-mm1

2005-01-16 Thread Robert Wisniewski
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

Re: 2.6.11-rc1-mm1

2005-01-16 Thread Robert Wisniewski
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