Re: Some questions about linux kernel.

From: Alex Belits (abelits@phobos.illtel.denver.co.us)
Date: Wed Mar 15 2000 - 17:20:39 EST


On Wed, 15 Mar 2000, Horst von Brand wrote:

> > If those were the only choices, it would be reasonable, but why some
> > userspace program can't decide, what should be the policy, and tell the
> > kernel? It can be done the same way, priority is handled.
>
> Oops... OOM. Please gimme some 10Mb so I can start this wonderful AI
> memory-hog detector, so it can be killed.

  Last time I have checked, scheduler handles priority of processes
without any "time hog detector" in userspace, yet nice(1) is used all the
time. It can argued that daemon can help to set policies for running
processes, but the possibility to at least set policy on the program
startup by some wrapper should improve situation a lot compared to what it
is now.

-- 
Alex

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:18 EST