public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* when the kernel runs in softirq and tasklet , which context is it in ?
@ 2005-08-27 16:05 lab liscs
  2005-08-28  6:56 ` Gaurav Dhiman
  0 siblings, 1 reply; 2+ messages in thread
From: lab liscs @ 2005-08-27 16:05 UTC (permalink / raw)
  To: linux-kernel

I thought it must be in system context ,but always with a litte doubt.

is there third context the kernel can run in ?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: when the kernel runs in softirq and tasklet , which context is it in ?
  2005-08-27 16:05 when the kernel runs in softirq and tasklet , which context is it in ? lab liscs
@ 2005-08-28  6:56 ` Gaurav Dhiman
  0 siblings, 0 replies; 2+ messages in thread
From: Gaurav Dhiman @ 2005-08-28  6:56 UTC (permalink / raw)
  To: lab liscs; +Cc: linux-kernel

On 8/27/05, lab liscs <liscs.lab@gmail.com> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-28  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-27 16:05 when the kernel runs in softirq and tasklet , which context is it in ? lab liscs
2005-08-28  6:56 ` Gaurav Dhiman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox