From owner-cvs-all@FreeBSD.ORG Fri Mar 11 07:19:33 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 564B016A4CE; Fri, 11 Mar 2005 07:19:33 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB82743D53; Fri, 11 Mar 2005 07:19:32 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2B7H6Wg002690; Fri, 11 Mar 2005 00:17:06 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 11 Mar 2005 00:17:17 -0700 (MST) Message-Id: <20050311.001717.21272926.imp@bsdimp.com> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <200503110703.j2B73kkP075469@repoman.freebsd.org> References: <200503110703.j2B73kkP075469@repoman.freebsd.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: cvs commit: src/sys/dev/ppbus pps.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 07:19:33 -0000 In message: <200503110703.j2B73kkP075469@repoman.freebsd.org> Warner Losh writes: : Make the pps interrupt register as MPSAFE and FAST. Use a spin lock : to syncrhonize access to the data as a result. This makes the pps : less likely to miss the 1ms pulse that I'm feeding it, but not : entirely reliable yet on my 133MHz P5. A quick check shows that the pulse is 20us, not 1000us. Warner