public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Con Kolivas <kernel@kolivas.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Pekka J Enberg <penberg@cs.helsinki.fi>,
	Linus Torvalds <torvalds@osdl.org>,
	Pekka Enberg <penberg@gmail.com>, Andrew Morton <akpm@osdl.org>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [patch] TASK_NONINTERACTIVE (was: Machine Freezes while Running Crossover Office)
Date: Wed, 1 Jun 2005 18:55:50 +1000	[thread overview]
Message-ID: <200506011855.54477.kernel@kolivas.org> (raw)
In-Reply-To: <20050601073544.GA21384@elte.hu>

[-- Attachment #1: Type: text/plain, Size: 802 bytes --]

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 #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-06-01  8:56 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-28 14:46 [PROBLEM] Machine Freezes while Running Crossover Office Pekka Enberg
2005-05-29 18:12 ` Linus Torvalds
2005-05-29 18:20   ` Pekka Enberg
2005-05-29 18:49     ` Linus Torvalds
2005-05-29 20:49       ` Pekka Enberg
2005-05-29 22:59         ` Linus Torvalds
2005-05-29 23:06           ` Kyle Moffett
2005-05-30 15:23           ` Pekka Enberg
2005-05-30 17:31             ` Linus Torvalds
2005-05-30 18:07               ` Kyle Moffett
2005-05-30 18:22                 ` Ingo Molnar
2005-05-30 18:22                 ` Linus Torvalds
2005-05-30 18:25                   ` Linus Torvalds
2005-05-30 19:12                     ` Ingo Molnar
2005-05-31 13:54                   ` Greg Stark
2005-05-31  6:15               ` Pekka J Enberg
2005-05-31  6:35               ` Pekka J Enberg
2005-05-31  6:54                 ` Ingo Molnar
2005-05-31 16:53                   ` Pekka Enberg
2005-05-31 17:24                     ` Linus Torvalds
2005-05-31 18:41                       ` Ingo Molnar
2005-05-31 21:20                         ` Pekka Enberg
2005-06-01  0:07                           ` Con Kolivas
2005-06-01  2:31                             ` David Lang
2005-06-01  7:35                 ` [patch] TASK_NONINTERACTIVE (was: Machine Freezes while Running Crossover Office) Ingo Molnar
2005-06-01  8:42                   ` Pekka J Enberg
2005-06-01  8:55                   ` Con Kolivas [this message]
2005-06-01 10:26                   ` Pekka J Enberg
2005-06-01 18:06                   ` [patch] " Gene Heskett
2005-06-03  8:34                   ` Pekka J Enberg
2005-06-03 10:57                     ` Ingo Molnar
2005-06-07 13:14                       ` Pekka Enberg
2005-10-17 15:10                   ` [patch] " Pekka Enberg
2005-10-17 15:15                     ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200506011855.54477.kernel@kolivas.org \
    --to=kernel@kolivas.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=penberg@cs.helsinki.fi \
    --cc=penberg@gmail.com \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox