[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080124160703.GE4857@elte.hu>
Date: Thu, 24 Jan 2008 17:07:03 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Jens Axboe <jens.axboe@...cle.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Make idle iopriority class safe for non-root
* Jens Axboe <jens.axboe@...cle.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists