kqueued make(1): can someone try it for me please?

Ruslan Ermilov ru at FreeBSD.org
Fri Aug 20 08:27:51 PDT 2004


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,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
Index: Makefile
===================================================================
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?=	YES
 CFLAGS+=-DMAKE_VERSION=\"5200408120\"
 .if defined(_UPGRADING)
 CFLAGS+=-D__FBSDID=__RCSID
+.else
+CFLAGS+=-DUSE_KQUEUE
 .endif
 
-# XXX: kernel currently broken
-# CFLAGS+=-DUSE_KQUEUE
-
 main.o: ${MAKEFILE}
 
 # Set the shell which make(1) uses.  Bourne is the default, but a decent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040820/329613b6/attachment.bin


More information about the freebsd-current mailing list