Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 18:27:48 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        David Wolfskill <dhw@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   kqueued make(1): can someone try it for me please?
Message-ID:  <20040820152748.GD92603@ip.net.ua>

next in thread | raw e-mail | index | archive | help

--2hMgfIw2X+zgXrFs
Content-Type: multipart/mixed; boundary="n2Pv11Ogg/Ox8ay5"
Content-Disposition: inline


--n2Pv11Ogg/Ox8ay5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi David and others,

Can someone please try the attached patch for me on your SMP/UP
-CURRENT build machines?

How to test:

1.  Remove /usr/obj/usr/src.

2.  Without the patch, run your favorite buildworld command on an
    otherwise idle machine, note the "/usr/bin/time -h" output
    that it takes.

3.  Remove /usr/obj/usr/src.

4.  Apply this patch, recompile and reinstall your make(1).

5.  Run your favorite buildworld command again.

I'm interested in the change in buildworld times.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--n2Pv11Ogg/Ox8ay5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=p
Content-Transfer-Encoding: quoted-printable

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/usr.bin/make/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile	12 Aug 2004 11:49:55 -0000	1.33
+++ Makefile	18 Aug 2004 06:23:06 -0000
@@ -18,11 +18,10 @@ NOSHARED?=3D	YES
 CFLAGS+=3D-DMAKE_VERSION=3D\"5200408120\"
 .if defined(_UPGRADING)
 CFLAGS+=3D-D__FBSDID=3D__RCSID
+.else
+CFLAGS+=3D-DUSE_KQUEUE
 .endif
=20
-# XXX: kernel currently broken
-# CFLAGS+=3D-DUSE_KQUEUE
-
 main.o: ${MAKEFILE}
=20
 # Set the shell which make(1) uses.  Bourne is the default, but a decent

--n2Pv11Ogg/Ox8ay5--

--2hMgfIw2X+zgXrFs
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBJhh0qRfpzJluFF4RAoBMAJsFURb3IjEvDyNV17RoJza+7Z7QJQCfQgUy
FwcLhdWV6/J3myo9sWDoZLE=
=bSQb
-----END PGP SIGNATURE-----

--2hMgfIw2X+zgXrFs--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040820152748.GD92603>