From owner-freebsd-smp Fri Aug 31 11:22:50 2001 Delivered-To: freebsd-smp@freebsd.org Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 5955E37B403 for ; Fri, 31 Aug 2001 11:22:26 -0700 (PDT) Received: (qmail 96523 invoked from network); 31 Aug 2001 18:22:25 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 31 Aug 2001 18:22:25 -0000 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: <200108310148.DAA80823@midten.fast.no> Date: Fri, 31 Aug 2001 11:22:30 -0700 (PDT) From: John Baldwin To: Tor.Egge@fast.no Subject: Re: Clock speedup on 4.X FreeBSD SMP and serverworks chipset Cc: freebsd-smp@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG, Patrick.Guelat@imp.ch, phk@FreeBSD.ORG, drussell@saturn-tech.com, roberto@eurocontrol.fr, atrn@zeta.org.au, sthaug@nethelp.no, kpielorz@tdx.co.uk, bkarp@icsi.berkeley.edu, bde@zeta.org.au, mb@imp.ch Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 31-Aug-01 Tor.Egge@fast.no wrote: > > I wrote: > >> The problem here is that CPU#1 fails to hold clock_lock while setting >> clkintr_pending, causing i8254_offset to be stepped twice, first due >> to clkintr_pending, then due to i8254_lastcount being larger than count. > > The corresponding patch for -current is Hmm, does -current even need clkintr_pending anymore? What is its purpose? -- 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 freebsd-smp" in the body of the message