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

From: Andi Kleen
Date: Wed Aug 08 2007 - 06:17:18 EST


> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/