From owner-freebsd-smp Thu Oct 3 07:23:46 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA29742 for smp-outgoing; Thu, 3 Oct 1996 07:23:46 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA29736 for ; Thu, 3 Oct 1996 07:23:43 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id HAA12159; Thu, 3 Oct 1996 07:24:07 -0700 (PDT) Message-Id: <199610031424.HAA12159@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Doug Rabson cc: Peter Wemm , Chris Csanady , freebsd-smp@freebsd.org Subject: Re: Scheduling and idle loops.. (Was Re: cvs commit: sys/kern . . ) In-reply-to: Your message of "Thu, 03 Oct 1996 15:15:59 BST." From: David Greenman Reply-To: dg@Root.COM Date: Thu, 03 Oct 1996 07:24:07 -0700 Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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