Re: Preemptive linux
- From: "David Schwartz" <davids@xxxxxxxxxxxxx>
- Date: 27 Sep 2006 19:21:56 -0700
Binary wrote:
Will this challenge the driver developer, such as reentrant function
handling.
Any comments?
It rarely makes much difference because the issues with pre-emption are
more or less identical to the issues with SMP.
Imagine if you write some code that first does X, then does Y. There is
some other code, Z, that has issues if it runs between X and Y. How is
a single CPU doing "X, pre-empt to Z, then Y" any different from
another CPU doing Z after you finish X but before you start Y?
There are differences at low-level, of course. But Linux already takes
care of that in its code for things like spinlocks.
DS
.
- Follow-Ups:
- Re: Preemptive linux
- From: Binary
- Re: Preemptive linux
- References:
- Preemptive linux
- From: Rafael Almeida
- Re: Preemptive linux
- From: Alexander Krizhanovsky
- Re: Preemptive linux
- From: David Schwartz
- Re: Preemptive linux
- From: Binary
- 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):