From owner-freebsd-mobile@FreeBSD.ORG Fri Nov 12 05:02:42 2010 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A39A0106564A for ; Fri, 12 Nov 2010 05:02:42 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3629B8FC14 for ; Fri, 12 Nov 2010 05:02:41 +0000 (UTC) Received: by wya21 with SMTP id 21so438239wya.13 for ; Thu, 11 Nov 2010 21:02:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=y8G/EoJ2u8nb7BJHEgptIWROSR5lfNRsaw3Edsq6ojI=; b=WhvFOjUU2D9LoXkQwIVZES6rPcMQyZcffZbOQbbTawO4jM/43NEqtjFmjoKmMufaT7 UBQ1AZjL1rGSjAEzSu3Zx8NkGG3UVr2lcB9W3QLs+Hb53mT7955d3cbvMIw1Nhz/x6b/ FXC9gfboVoCntrDRbQs82LRgJ4FpEtDchDuUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ny2JApwsorak8Z7wfnabGXchyXb7nQZwaWaQkCTVnj9fPxgimUtVDt1luXfbN2T3Xq 3Rv11IFusuxsXztuRHWcMgWFpajD+vhs5TtJdFsRAT2o0DTCOB/1e7YEDyvC+QYhGgZx BfvF/8hB3bhZBdttBSSLKQsEQV5C0qMfjUI4k= MIME-Version: 1.0 Received: by 10.216.154.131 with SMTP id h3mr3114772wek.74.1289536582420; Thu, 11 Nov 2010 20:36:22 -0800 (PST) Received: by 10.216.12.80 with HTTP; Thu, 11 Nov 2010 20:36:22 -0800 (PST) In-Reply-To: <4CDC8CFC.8040402@FreeBSD.org> References: <4CDC8CFC.8040402@FreeBSD.org> Date: Thu, 11 Nov 2010 22:36:22 -0600 Message-ID: From: Brandon Gooch To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Stable , freebsd-mobile@freebsd.org Subject: Re: New event timers for 8-STABLE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 05:02:42 -0000 2010/11/11 Alexander Motin : > Hi. > > I've created a patch, merging all kernel event timers related stuff from > 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 SVN > revisions from HEAD. I hope I haven't missed anything important. I would > 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: > =A0- kernel freeze on XEN HVM when using LAPIC timer in one-shot mode -- > can be workarounded by switching to periodic mode or other timer. > =A0- 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). > Reporting successes! No noticeable anomalies yet, two 8-STABLE systems (behaving similarly to my 9-CURRENT system in regard to timer settings). I'll keep prodding away to see what I can break ;) Of course I'll report the pertinent bits if/when required... Good job Alexander! -Brandon