Re: [patch] agv_slice not initialized

Chris Wedgwood (cw@ix.net.nz)
Tue, 5 Jan 1999 12:22:02 +1300


On Sun, Jan 03, 1999 at 11:31:35PM +0100, MOLNAR Ingo wrote:

> i have left it that way on purpose. There is no reason to assume
> that the timeslice will get smaller after a fork. If we do anything
> like that then we should reset the _parent's_ timeslice ... (thats
> the typical fork() usage pattern: parent forks a child and goes
> sleeping [ie. waiting for results] shortly afterwards).

sounds like it could be abused -- sprinkle your code with losts of
little

if(!fork())
exit();

snippets everywhere -- and you'll end up getting way to much cpu
compared to otehr processes.

-cw

-
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/