Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Oct 1996 07:24:07 -0700
From:      David Greenman <dg@Root.COM>
To:        Doug Rabson <dfr@render.com>
Cc:        Peter Wemm <peter@spinner.dialix.com>, Chris Csanady <ccsanady@friley216.res.iastate.edu>, freebsd-smp@freebsd.org
Subject:   Re: Scheduling and idle loops.. (Was Re: cvs commit: sys/kern . . ) 
Message-ID:  <199610031424.HAA12159@root.com>
In-Reply-To: Your message of "Thu, 03 Oct 1996 15:15:59 BST." <Pine.BSF.3.95.961003151131.10204S-100000@minnow.render.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>Why not use a byte in struct proc for the cpuid of the processor which
>most recently ran the process.  If there is a choice of highest-priority
>processes, each cpu could choose a process which it has run before,
>otherwise just pick the highest priority process as normal.

   Right, if the CPU that it ran on last isn't available, but another one is,
you don't want to *not* run it just because of the processor affinity.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610031424.HAA12159>