Re: when the kernel runs in softirq and tasklet , which context is it in ?

From: Gaurav Dhiman
Date: Sun Aug 28 2005 - 01:56:39 EST


On 8/27/05, lab liscs <liscs.lab@xxxxxxxxx> wrote:
> I thought it must be in system context ,but always with a litte doubt.
>
> is there third context the kernel can run in ?
> -

If I am not wrong, softirq runs in process context (system call is
also done through softirq, int 0x80 - this runs in process context),
where as hardware irq and taslets run in no context, i mean no process
context, so we should not use current pointer here.

Please cortrect me if I am wrong.
regards,
-Gaurav

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