Date: Fri, 12 Nov 2010 11:30:08 +0800 From: "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au> To: freebsd-stable@freebsd.org Subject: Re: New event timers for 8-STABLE [SEC=UNCLASSIFIED] Message-ID: <20101112033008.GA47411@stlux503.dsto.defence.gov.au> In-Reply-To: <4CDC8CFC.8040402@FreeBSD.org> References: <4CDC8CFC.8040402@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101112033008.GA47411>