From owner-freebsd-current Mon Feb 9 14:02:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA02826 for current-outgoing; Mon, 9 Feb 1998 14:02:45 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from tesun1.trw.nl (obelix.trw.nl [195.193.64.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA02815 for ; Mon, 9 Feb 1998 14:02:43 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from schizo.dk.trw.nl (schizo.dk.trw.nl [140.145.230.10]) by tesun1.trw.nl (8.8.8/8.8.8) with ESMTP id AAA28692; Tue, 10 Feb 1998 00:56:56 +0100 (MET) Received: from critter.freebsd.dk (critter.dk.trw.nl [140.145.230.252]) by schizo.dk.trw.nl (8.8.8/8.8.8) with ESMTP id WAA28985; Mon, 9 Feb 1998 22:58:58 +0100 (CET) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.dk.trw.nl [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id WAA05221; Mon, 9 Feb 1998 22:54:35 +0100 (CET) To: Eivind Eklund cc: Pierre Beyssac , current@FreeBSD.ORG Subject: Re: Heads up: static -ification In-reply-to: Your message of "Mon, 09 Feb 1998 22:34:52 +0100." <19980209223452.41056@follo.net> Date: Mon, 09 Feb 1998 22:54:34 +0100 Message-ID: <5219.887061274@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> > I'm just about to commit a change that staticize close to everything that >> > can be staticized and doesn't look unreasonable to staticize (almost 400 >> > variables and functions). >> >> Just out of curiosity, what's the rationale for this? Smaller stack >> footprint? Faster access to said variables? > >There are a multitude of reasons; I'll list some of them: I'd just like to say thanks to Eivind for this effort. People should make use of the script in src/tools/tools/kernxref.sh in the future, unless some other file needs a particular symbol, it should be made static. There is no excuse now! Thanks again Eivind! -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "Drink MONO-tonic, it goes down but it will NEVER come back up!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe current" in the body of the message