All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Jens Axboe <axboe@suse.de>
Cc: Guillaume Chazarain <guichaz@yahoo.fr>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] cfq + io priorities
Date: Tue, 18 Nov 2003 14:38:04 +0100	[thread overview]
Message-ID: <20031118133804.GC662@elf.ucw.cz> (raw)
In-Reply-To: <20031118133253.GK888@suse.de>

Hi!

> > At least idle class can not be used to hold important semaphore
> > forever (even low-priority prosses receive enough time not to hold
> > important semaphores too long)... I believe you should do the same (==
> > get rid of idle class for now, and clearly state that realtime ones
> > are not _guaranteed_ anything).
> 
> That's not doing something about it, that's giving up... 

:-) Yes. That's what we do for scheduler, already. [And its better to
give up than to have DoS security hole, right?]

> You could allow idle prio to proceed, if it holds a resource that could
> potentially block others.

I guess you can't push this for 2.6. And notice that we use same
solution for cpu scheduler, where solution is quite easy (with no
hot-paths overhead).
							Pavel
-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

  reply	other threads:[~2003-11-18 13:37 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-09 10:57 [PATCH] cfq + io priorities Guillaume Chazarain
2003-11-09 11:39 ` Jens Axboe
2003-11-13 12:54   ` Pavel Machek
2003-11-16 22:56     ` Jakob Oestergaard
2003-11-17  8:14     ` Jens Axboe
2003-11-18 13:26       ` Pavel Machek
2003-11-18 13:32         ` Jens Axboe
2003-11-18 13:38           ` Pavel Machek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-11-10  1:49 Albert Cahalan
2003-11-10 10:19 ` Herbert Xu
2003-11-10 13:07   ` Albert Cahalan
2003-11-10 13:31     ` P
2003-11-10 13:37       ` Jens Axboe
2003-11-10 13:57         ` P
2003-11-10 23:52         ` Albert Cahalan
2003-11-18  9:27           ` Pavel Machek
2003-11-11 17:46     ` Toon van der Pas
2003-11-08 12:47 Jens Axboe
2003-11-08 13:25 ` Jens Axboe
2003-11-08 14:06   ` Jens Axboe
2003-11-09 21:30 ` Shailabh Nagar
2003-11-09 21:34   ` Jens Axboe

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=20031118133804.GC662@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=axboe@suse.de \
    --cc=guichaz@yahoo.fr \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.