lkml.org 
[lkml]   [1999]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] agv_slice not initialized

On Sun, 3 Jan 1999, Andrea Arcangeli wrote:

> I think it will make more sense to not inherit the avg_slice from the
> parent.

> +++ linux/kernel/fork.c 1999/01/03 17:09:56
> + p->avg_slice = 0;

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).

-- mingo


-
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.052 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site