lkml.org 
[lkml]   [1999]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] agv_slice not initialized
I think it will make more sense to not inherit the avg_slice from the parent.

Index: fork.c
===================================================================
RCS file: /var/cvs/linux/kernel/fork.c,v
retrieving revision 1.1.1.1.2.6
diff -u -r1.1.1.1.2.6 fork.c
--- fork.c 1998/12/31 16:56:28 1.1.1.1.2.6
+++ linux/kernel/fork.c 1999/01/03 17:09:56
@@ -542,6 +542,7 @@
#ifdef __SMP__
{
int i;
+ p->avg_slice = 0;
p->has_cpu = 0;
p->processor = NO_PROC_ID;
/* ?? should we just memset this ?? */

Andrea Arcangeli


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