lkml.org 
[lkml]   [2005]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: when or where can the case occur in "linux kernel development " about "kernel preemption"?
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.
-
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/

\
 
 \ /
  Last update: 2005-08-27 18:07    [W:0.045 / U:35.692 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site