Re: allow non root users to set io priority "idle" ?

Andi Kleen
2007-08-08T10:17:16Z

> I don't think it's a problem for high priority (RT) tasks - it's well
> known in the real time Linux community that you never, ever do IO from
> a thread that has to satisfy RT constraints.

The point here is to protect the system from a potentially malicious user

> which I would
> expect to take fewer locks.

Even a single lock is one too much. My example lock -- the page lock bit --
certainly applies to both reads and writes.

-Andi