[linux-dvb] [BUG] flexcop lockdep

Patrick Boettcher patrick.boettcher at desy.de
Thu Apr 5 13:55:03 CEST 2007


On Thu, 5 Apr 2007, Borgi2008 wrote:

> Am Mittwoch, den 04.04.2007, 23:29 +0300 schrieb Antti Seppälä:
> > Borgi2008 wrote:
> > > Hello,
> > > 
> > > i've created a bugfixes. Hope it could helps you.
> > > 
> > > Hendrik Borghorst
> > > 
> > > 
> > 
> > Actually, looking at the code I cannot figure out why there has to be a
> > spinlock in the first place.
> > 
> > The lock is only taken in the interrupt handler which already runs in
> > atomic context so there is no use in making the handler protected by a
> > spinlock. Am I missing something here?
> > 
> > I think the spinlock is unnecessary and should be removed entirely.

Even on SMP systems? ISRs are only atomic on one CPU.

Patrick.


More information about the linux-dvb mailing list