From owner-freebsd-stable@FreeBSD.ORG Fri Nov 12 03:30:12 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C65591065693 for ; Fri, 12 Nov 2010 03:30:12 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 6967B8FC14 for ; Fri, 12 Nov 2010 03:30:12 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id oAC3N4CZ007165 for ; Fri, 12 Nov 2010 13:53:04 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.4.0) with ESMTP id for ; Fri, 12 Nov 2010 14:00:10 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Fri, 12 Nov 2010 14:00:10 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.4675); Fri, 12 Nov 2010 11:30:09 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id oAC3U9hx047424 for ; Fri, 12 Nov 2010 11:30:09 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id oAC3U8Cm047423 for freebsd-stable@freebsd.org; Fri, 12 Nov 2010 11:30:09 +0800 (WST) (envelope-from wilkinsa) Date: Fri, 12 Nov 2010 11:30:08 +0800 From: "Wilkinson, Alex" To: freebsd-stable@freebsd.org Message-ID: <20101112033008.GA47411@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-stable@freebsd.org References: <4CDC8CFC.8040402@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <4CDC8CFC.8040402@FreeBSD.org> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 12 Nov 2010 03:30:09.0784 (UTC) FILETIME=[E8919780:01CB8219] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.500.1024-17760.003 X-TM-AS-Result: No--15.978100-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Subject: Re: New event timers for 8-STABLE [SEC=UNCLASSIFIED] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 03:30:12 -0000 0n Fri, Nov 12, 2010 at 02:40:28AM +0200, Alexander Motin wrote:=20 >I've created a patch, merging all kernel event timers related stuff fr= om >HEAD to 8-STABLE. The only thing I have skipped at this moment was mips >architecture, because of too big code difference there between HEAD and >8-STABLE. Patch appeared to be quite large and includes more then 60 S= VN >revisions from HEAD. I hope I haven't missed anything important. I wou= ld >like to ask interested people to test it. Patched code successfully >builds on all platforms and successfully runs on my amd64 test machine. > >In HEAD code seems to be working enough stable, There only two known >open issues at the moment: > - kernel freeze on XEN HVM when using LAPIC timer in one-shot mode -- >can be workarounded by switching to periodic mode or other timer. > - if HPET interrupt shared with other device, system load average may >lie (report +1 value) -- not a timer problem and not fatal. >Please report me if you find anything else. > >Latest patch can be found here: >http://people.freebsd.org/~mav/timers_merge/timers_merge-20101111.patch > >Merge instructions (list of revisions, if somebody want to redo it): >http://people.freebsd.org/~mav/timers_merge/guide-20101111 > >After patching you need just rebuild/reinstall the kernel. I haven't >merged related manual pages yet, so, if needed, consult with man pages >from HEAD: eventtimers(7), attimer(4), atrtc(4), hpet(4). patches apply cleanly but buildkernel fails: make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP=3D"cc -E" CC=3D"= cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -march=3Dnocon= a -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototype= s -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-= pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/s= ys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -= I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib= /ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/= sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/con= trib/opensolaris/compat -I/usr/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPT= ION_HEADERS -include opt_global.h -fno-common -finline-limit=3D8000 --param= inline-unit-growth=3D100 --param large-function-growth=3D1000 -fno-omit-f= rame-pointer -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-= sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-t= ables -ffreestanding -fstack-protector cc: /usr/src/sys/kern/kern_et.c: No such file or directory cc: /usr/src/sys/kern/kern_clocksource.c: No such file or directory /usr/src/sys/dev/acpica/acpi_hpet.c:46:24: error: sys/timeet.h: No such fil= e or directory /usr/src/sys/x86/x86/local_apic.c:52:24: error: sys/timeet.h: No such file = or directory /usr/src/sys/x86/isa/atrtc.c:45:24: error: sys/timeet.h: No such file or di= rectory /usr/src/sys/x86/isa/clock.c:60:24: error: sys/timeet.h: No such file or di= rectory mkdep: compile failed *** Error code 1 Stop in /usr/obj/usr/src/sys/MARGS. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. IMPORTANT: This email remains the property of the Department of Defence and= is subject to the jurisdiction of section 70 of the Crimes Act 1914. If yo= u have received this email in error, you are requested to contact the sende= r and delete the email.