lkml.org 
[lkml]   [1999]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] agv_slice not initialized
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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.116 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site