public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: lab liscs <liscs.lab@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Is it a process?
Date: Fri, 05 Aug 2005 11:17:39 -0400	[thread overview]
Message-ID: <1123255059.18332.54.camel@localhost.localdomain> (raw)
In-Reply-To: <1132fcd6050805060216a03fb6@mail.gmail.com>

On Fri, 2005-08-05 at 21:02 +0800, lab liscs wrote:
> when linux kernel receives a packet from the netcard and the forwards it .
> 
> the process can be viewed as a kernel process ?
> 
> and if this process can be interrupted ?
> 
> thanks a lot!!

When a packet is received from the kernel, this is first done by an
interrupt handler to just get the packet. Then the rest (forwarding) is
done by a tasklet. This tasklet can be run either by the softirqd (a
kernel thread) or at certain locations in the kernel. So this is not a
normal process and no it can not be preempted or scheduled out (it can
be interrupted by an interrupt though).

-- Steve



  reply	other threads:[~2005-08-05 15:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-05 13:02 Is it a process? lab liscs
2005-08-05 15:17 ` Steven Rostedt [this message]
2005-08-08  6:39   ` Jan Engelhardt
2005-08-08 13:25     ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1123255059.18332.54.camel@localhost.localdomain \
    --to=rostedt@goodmis.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liscs.lab@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox