From owner-freebsd-current Mon Apr 24 10:53:48 2000 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id D27E937B715 for ; Mon, 24 Apr 2000 10:53:45 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e3OIMYf29946; Mon, 24 Apr 2000 11:22:34 -0700 (PDT) Date: Mon, 24 Apr 2000 11:22:34 -0700 From: Alfred Perlstein To: Matthew Dillon Cc: "Jacques A . Vidrine" , Richard Wackerbarth , freebsd-current@FreeBSD.ORG Subject: Re: SMP changes and breaking kld object module compatibility Message-ID: <20000424112234.A24816@fw.wintelcom.net> References: <00042409270400.09338@nomad.dataplex.net> <20000424101314.A76089@spawn.nectar.com> <200004241700.KAA70763@apollo.backplane.com> <200004241745.KAA71123@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200004241745.KAA71123@apollo.backplane.com>; from dillon@apollo.backplane.com on Mon, Apr 24, 2000 at 10:45:38AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Matthew Dillon [000424 11:15] wrote: > After further review I don't think there are any compatibility problems > with the spl*() mechanisms. > > But I must still caution that due to the extensive nature of the > cleanup, despite being mostly internal to the kernel, there could > very well be other things that we have overlooked which might still cause > problems with third party modules that aren't recompiled. The real answer > has changed from "There will be problems" to "There may be problems". If spl is actually a function and not a macro we should be fine. I think as a whole we need to evaluate the use of macros, they're one of the major problems with changes like this and several people have come forward over time with strong numbers showing that the code bloat causes that comes with overuse of macros causes problems with the I cache where inlining really doesn't pay off. Most archs nowadays have pretty good support for leaf functions or have cheap calls instructions. Just food for thought. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message