Re: 2.5.74-mm1

From: Jamie Lokier (
Date: Sat Jul 05 2003 - 16:44:13 EST

Daniel Phillips wrote:
> Unfortunately, negative priority requires root privilege, at least
> on Debian.
> That's dumb. By default, the root privilege requirement should kick
> in at something like -5 or -10, so ordinary users can set priorities
> higher than the default, as well as lower. For the millions of
> desktop users out there, sound ought to work by default, not be
> broken by default.

The security problem, on a multi-user box, is that negative priority
apps can easily take all of the CPU and effectively lock up the box.

Something I've often thought would fix this is to allow normal users
to set negative priority which is limited to using X% of the CPU -
i.e. those tasks would have their priority raised if they spent more
than a small proportion of their time using the CPU.

-- Jamie
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:25 EST