Thread (87 messages) 87 messages, 16 authors, 2003-07-11

Re: 2.5.74-mm1

From: Jamie Lokier <hidden>
Date: 2003-07-05 21:30:19
Also in: lkml

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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help