From owner-freebsd-smp Fri Aug 31 1: 7:16 2001 Delivered-To: freebsd-smp@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 6C3E437B403; Fri, 31 Aug 2001 01:07:09 -0700 (PDT) (envelope-from mb@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by mail.imp.ch (8.11.1/8.11.1) with ESMTP id f7V82eA29322; Fri, 31 Aug 2001 10:02:40 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Fri, 31 Aug 2001 10:10:03 +0200 (CEST) From: Martin Blapp To: Cc: , , , , , , , , , , Subject: Re: Clock speedup on 4.X FreeBSD SMP and serverworks chipset In-Reply-To: <200108310148.DAA80823@midten.fast.no> Message-ID: <20010831100828.S8426-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi, I tested your patch and it solved our problem 100%. There's no timedrift anymore. Do you think the patch will make it in 4.4R. ? We need it urgently. Thanks a lot for your analysis and your fast work ! Martin > --- apic_vector.s.old Fri Mar 2 13:47:31 2001 > +++ apic_vector.s Fri Aug 31 01:07:53 2001 > @@ -707,7 +707,12 @@ > FAST_INTR(21,fastintr21) > FAST_INTR(22,fastintr22) > FAST_INTR(23,fastintr23) > -#define CLKINTR_PENDING movl $1,CNAME(clkintr_pending) > +#define CLKINTR_PENDING pushl $clock_lock; \ > + call s_lock; \ > + movl $1,CNAME(clkintr_pending); \ > + call s_unlock; \ > + addl $4, %esp > + To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message