# HG changeset patch # User Robert Ransom # Date 1576991633 18000 # Node ID 85dfb4d0d5ee93073cde636cc5288e72116b46e5 # Parent 8b68d6a763e0312d58c1fc6a1514d8fffb61f9c6 Remove relics of CPU 'load balancing' policy in scheduler This code was deleted from Plan 9 before the 9front repo began. Proc.movetime was used by it, but has never been referenced in 9front. diff --git a/sys/src/9/port/portdat.h b/sys/src/9/port/portdat.h --- a/sys/src/9/port/portdat.h +++ b/sys/src/9/port/portdat.h @@ -755,7 +755,6 @@ ulong lastupdate; uchar yield; /* non-zero if the process just did a sleep(0) */ ulong readytime; /* time process came ready */ - ulong movetime; /* last time process switched processors */ int preempted; /* true if this process hasn't finished the interrupt * that last preempted it */ diff --git a/sys/src/9/port/proc.c b/sys/src/9/port/proc.c --- a/sys/src/9/port/proc.c +++ b/sys/src/9/port/proc.c @@ -525,8 +525,7 @@ loop: /* * find a process that last ran on this processor (affinity), - * or one that hasn't moved in a while (load balancing). Every - * time around the loop affinity goes down. + * or one that can be moved to this processor. */ spllo(); for(i = 0;; i++){