All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Jens Axboe <jens.axboe@oracle.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Make idle iopriority class safe for non-root
Date: Thu, 24 Jan 2008 17:07:03 +0100	[thread overview]
Message-ID: <20080124160703.GE4857@elte.hu> (raw)
In-Reply-To: <20080123101142.GJ6258@kernel.dk>


* Jens Axboe <jens.axboe@oracle.com> wrote:

> Hi,
> 
> Currently you must be root to set idle io prio class on a process. 
> This is due to the fact that the idle class is implemented as a true 
> idle class, meaning that it will not make progress if someone else is 
> requesting disk access. Unfortunately this means that it opens DOS 
> opportunities by locking down file system resources, hence it is root 
> only at the moment.
> 
> This patch relaxes the idle class a little, by removing the truly idle 
> part (which entals a grace period with associated timer). The 
> modifications make the idle class as close to zero impact as can be 
> done while still guarenteeing progress. This means we can relax the 
> root only criteria as well.

nice stuff!

	Ingo

      reply	other threads:[~2008-01-24 16:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-23 10:11 [PATCH] Make idle iopriority class safe for non-root Jens Axboe
2008-01-24 16:07 ` Ingo Molnar [this message]

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=20080124160703.GE4857@elte.hu \
    --to=mingo@elte.hu \
    --cc=jens.axboe@oracle.com \
    --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.