Re: Preemptive linux
- From: "Alexander Krizhanovsky" <a.krizhanovsky@xxxxxxxxx>
- Date: 27 Sep 2006 06:38:01 -0700
David Schwartz wrote:
You only need to call 'preempt_check_resched' if
preemption might be disabled and you still want to be able to be
preempted at a particular point.
Did you mean thread can be preempted by timer interrupt (because of I
don't know any other way by which thread with infinite loop can be
preempted on UP machine)?
AFAIK, just for SMP systems thread can be marked by TIF_NEED_RESCHED
from timer_interrupt() but also not a really preempted...
.
- Follow-Ups:
- Re: Preemptive linux
- From: Chris Friesen
- Re: Preemptive linux
- References:
- Preemptive linux
- From: Rafael Almeida
- Re: Preemptive linux
- From: Alexander Krizhanovsky
- Re: Preemptive linux
- From: David Schwartz
- Preemptive linux
- Prev by Date: Re: Preemptive linux
- Next by Date: Re: Preemptive linux
- Previous by thread: Re: Preemptive linux
- Next by thread: Re: Preemptive linux
- Index(es):