Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 5 Apr 2005 01:57:41 -0600 (MDT) | From | Zwane Mwaikambo <> | Subject | Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00 |
| |
On Tue, 5 Apr 2005, Esben Nielsen wrote:
> > I'm sure a lot of the yield() users could be converted to > > schedule_timeout(), some of the users i saw were for low memory conditions > > where we want other tasks to make progress and complete so that we a bit > > more free memory. > > > > Easy, but damn ugly. Completions are the right answer. The memory system > needs a queue system where tasks can sleep (with a timeout) until the > right amount of memory is available instead of half busy-looping.
I agree entirely, that would definitely be a better way to go eventually. - 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/
| ![\](/images/icornerr.gif) |