From owner-freebsd-arch Wed May 24 19: 8: 6 2000 Delivered-To: freebsd-arch@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 70E7237B6CC for ; Wed, 24 May 2000 19:08:04 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id TAA78220; Wed, 24 May 2000 19:08:00 -0700 (PDT) (envelope-from dillon) Date: Wed, 24 May 2000 19:08:00 -0700 (PDT) From: Matthew Dillon Message-Id: <200005250208.TAA78220@apollo.backplane.com> To: Chuck Paterson Cc: Terry Lambert , arch@FreeBSD.ORG Subject: Re: Preemptive kernel on older X86 hardware References: <200005250205.UAA16126@berserker.bsdi.com> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG We've had very good luck encapsulating our MP lock code in real honest-to-god subroutines rather then trying to make them inline macros. On intel anyway, subroutine calls are *cheap*, especially compared to the overhead of a locked instruction or even an L1 cache miss. It's a no-brainer. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message