All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sat." <walking.to.remember@gmail.com>
To: Christopher Friesen <cfriesen@nortel.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: when or where can the case occur in "linux kernel development " about "kernel preemption"?
Date: Sat, 27 Aug 2005 23:57:42 +0800	[thread overview]
Message-ID: <6b5347dc050827085727df49c8@mail.gmail.com> (raw)
In-Reply-To: <430F45F8.8020505@nortel.com>

2005/8/27, Christopher Friesen <cfriesen@nortel.com>:
> Sat. wrote:
> > the case about kernel preemption as follow :
> >
> > the book said "when a process that has a higher priority than the
> > currenty running process is awakened ".
> >
> > but I can think about when such case can occur , could you give me an example ?
> 
> There may be others, but one common case is when a hardware interrupt
> causes the higher priority process to become runnable.  Some examples of
> this would be a network packet arriving, or the expiry of a hardware timer.
> 
> Chris
> 

unfortunately, I cannot agree with you , normally ,when the kernel
runs in interrupt context , the schedule() should not be invoked 
------my views .

then,could anyone  give me a definite example about network like above
or anything else to eluminate  this , ok?

thanks !

-- 
Sat.

  reply	other threads:[~2005-08-27 15:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-26 16:20 when or where can the case occur in "linux kernel development " about "kernel preemption"? Sat.
2005-08-26 16:40 ` Christopher Friesen
2005-08-27 15:57   ` Sat. [this message]
2005-08-28  7:05     ` Gaurav Dhiman
2005-08-29 11:46     ` linux-os (Dick Johnson)
2005-08-29 17:54       ` George Anzinger

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=6b5347dc050827085727df49c8@mail.gmail.com \
    --to=walking.to.remember@gmail.com \
    --cc=cfriesen@nortel.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.