From owner-cvs-all Mon Jun 25 11:57:37 2001 Delivered-To: cvs-all@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 0E5A237B40A; Mon, 25 Jun 2001 11:57:33 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.3/8.11.2) with ESMTP id f5PIvOI19823; Mon, 25 Jun 2001 11:57:24 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200106251830.f5PIUhS03416@freefall.freebsd.org> Date: Mon, 25 Jun 2001 13:39:40 -0700 (PDT) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/kern kern_shutdown.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 25-Jun-01 John Baldwin wrote: > jhb 2001/06/25 11:30:43 PDT > > Modified files: > sys/kern kern_shutdown.c > Log: > - Sort includes. > - Count the context switches during shutdown when we give ithreads a chance > to run as volutary context switches. > > Submitted by: bde (2) The context switches in question are probably very bogus in light of preemption for interrupts. Also, the process doing a shutdown should probably either clear the run queue's or raise its priority to ensure it is the only non-ithread process run. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message