From owner-freebsd-current Thu Feb 20 1:44:59 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43FE237B401; Thu, 20 Feb 2003 01:44:58 -0800 (PST) Received: from critter.freebsd.dk (esplanaden.cybercity.dk [212.242.40.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id D95A743F85; Thu, 20 Feb 2003 01:44:54 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1K9ioiu000921; Thu, 20 Feb 2003 10:44:50 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Ruslan Ermilov Cc: current@freebsd.org, johan@freebsd.org Subject: Re: Optimizing "universe" somewhat From: phk@phk.freebsd.dk In-Reply-To: Your message of "Thu, 20 Feb 2003 11:12:27 +0200." <20030220091227.GA47550@sunbay.com> Date: Thu, 20 Feb 2003 10:44:50 +0100 Message-ID: <920.1045734290@critter.freebsd.dk> 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 In message <20030220091227.GA47550@sunbay.com>, Ruslan Ermilov writes: > >--/9DWx/yDrRhgMJTb >Content-Type: text/plain; charset=us-ascii >Content-Disposition: inline >Content-Transfer-Encoding: quoted-printable > >On Wed, Feb 19, 2003 at 07:40:19AM -0800, Ruslan Ermilov wrote: >> ru 2003/02/19 07:40:19 PST >>=20 >> Modified files: >> . Makefile=20 >> Log: >> Fixed universe. >> =20 >> Folded pc98 into the common case. >> Retired ${JFLAG} (``make -jX universe'' should work). >> =20 >> Revision Changes Path >> 1.276 +30 -34 src/Makefile >>=20 >Would it be too bad (in anyone's opinion) if we optimize this >a bit to build modules only once for each architecture, with >buildworld (-DMODULES_WITH_WORLD)? That would speed-up the >creation of universe somewhat, but has one bad side effect of >polluting userland build with kernel stuff, but is easiest >to implement. I think we should build the modules as specified by the kernels. Nothing prevents you from adding makeoptions MODULES_OVERRIDE="acpi linux" or similar to your kernels. Universe just takes time, and that's it. Don't try to optimize it if the result is less coverage. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message