lkml.org 
[lkml]   [2008]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Make idle iopriority class safe for non-root

* 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


\
 
 \ /
  Last update: 2008-01-24 17:11    [W:0.054 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site