Re: [PATCH] removal of unnecessary irq save/restore in tasklet_hi_schedule

From: Linus Torvalds (torvalds@transmeta.com)
Date: Tue Jul 25 2000 - 22:25:36 EST


On Wed, 26 Jul 2000, Daniel Marmier wrote:
>
> If my understanding is correct :
> a) tasklet_hi_schedule is to be called by hardirqs
> b) hardirqs cannot be re-entered

No, hard-irq's _can_ be re-entered. One hard-irq cannot re-enter itself,
but you can have _different_ irq's enter each other. As such, to avoid
deadlock in on the local CPU the current code is needed..

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:20 EST