From owner-freebsd-current Wed Mar 6 19:18:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 3D6ED37B400; Wed, 6 Mar 2002 19:18:45 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g273IBB60433; Wed, 6 Mar 2002 19:18:11 -0800 (PST) (envelope-from dillon) Date: Wed, 6 Mar 2002 19:18:11 -0800 (PST) From: Matthew Dillon Message-Id: <200203070318.g273IBB60433@apollo.backplane.com> To: "Jeroen C.van Gelderen" Cc: John Baldwin , Bruce Evans , Terry Lambert , Alfred Perlstein , Bosko Milekic , Seigo Tanimura , FreeBSD current users , Julian Elischer Subject: Re: Patch for critical_enter()/critical_exit() & interrupt assem References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :Search for "paper John Baldwin" and find link 6: : :http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=199282+204026+/usr/local/www/db/ :text/2002/freebsd-arch/20020303.freebsd-arch : :The actual paper is at: : http://www.FreeBSD.org/~jhb/smpng/design/article.{ps,pdf} : :-J :-- :Jeroen C. van Gelderen - jeroen@vangelderen.org Ok... I've read it. The sections on interrupts and critical sections are fully compatible with my patch. The one section... basically the last sentence of the last paragraph, is exactly the piece that my patch cleans up and makes more flexible. Instead of requiring that cpu_critical_*() always be used for the initial critical_enter() my patch makes it optional, and for I386 I use that flexibility to allow critical_*() to NOT have to call cpu_critical_*(). -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message