On Wed, 1 Jun 2005 17:35, Ingo Molnar wrote: > Pekka, could you check whether the patch below solves your Wine problem > (without hurting interactivity otherwise)? > > Ingo > > ---- > > this patch implements a task state bit (TASK_NONINTERACTIVE), which can > be used by blocking points to mark the task's wait as "non-interactive". > This does not mean the task will be considered a CPU-hog - the wait will > simply not have an effect on the waiting task's priority - positive or > negative alike. Right now only pipe_wait() will make use of it, because > it's a common source of not-so-interactive waits (kernel compilation > jobs, etc.). A very elegant solution! Not only is it unlikely this will harm interactivity, I suspect it will improve it in other areas. Cheers, Con
Attachment:
pgpDmzxBCg2ti.pgp
Description: PGP signature
- References:
- [PROBLEM] Machine Freezes while Running Crossover Office
- From: Pekka Enberg <[email protected]>
- Re: Machine Freezes while Running Crossover Office
- From: "Pekka J Enberg" <[email protected]>
- [patch] TASK_NONINTERACTIVE (was: Machine Freezes while Running Crossover Office)
- From: Ingo Molnar <[email protected]>
- [PROBLEM] Machine Freezes while Running Crossover Office
- Prev by Date: Re: [RFC] new 7-segments char translation API
- Next by Date: Re: [linux-pm] [RFC] Add some hooks to generic suspend code
- Previous by thread: Re: TASK_NONINTERACTIVE (was: Machine Freezes while Running Crossover Office)
- Next by thread: Re: TASK_NONINTERACTIVE (was: Machine Freezes while Running Crossover Office)
- Index(es):