Re: tasklets in 2.4.6

Jeff Garzik (jgarzik@mandrakesoft.com)
Fri, 06 Jul 2001 04:27:13 -0400


Jeff Garzik wrote:
> > --- 2.4.6pre5/include/asm-alpha/softirq.h Thu Jun 21 08:03:51 2001
> > +++ softirq/include/asm-alpha/softirq.h Thu Jun 21 15:58:06 2001
> > @@ -8,21 +8,28 @@
> > extern inline void cpu_bh_disable(int cpu)
> > {
> > local_bh_count(cpu)++;
> > - mb();
> > + barrier();
> > }
> >
> > -extern inline void cpu_bh_enable(int cpu)
> > +extern inline void __cpu_bh_enable(int cpu)
> > {
> > - mb();
> > + barrier();
> > local_bh_count(cpu)--;
> > }
>
> I do not say this is wrong... but why reinvent the wheel? Is it
> possible to use atomic_t for local

ignore this. I see the reason, and forgot to delete this text :)

-- 
Jeff Garzik      | A recent study has shown that too much soup
Building 1024    | can cause malaise in laboratory mice.
MandrakeSoft     |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/