From owner-freebsd-stable@FreeBSD.ORG Fri Nov 12 00:40:58 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 97F72106566B for ; Fri, 12 Nov 2010 00:40:58 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id DB7E38FC17 for ; Fri, 12 Nov 2010 00:40:57 +0000 (UTC) Received: by bwz2 with SMTP id 2so2537539bwz.13 for ; Thu, 11 Nov 2010 16:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=yPK3bcEHvQsrRojmaSK6JZf2r/KKBjxl35yVvM7S2nY=; b=KVhlnOOVNGRf2AdfMQ0HTyXLkiP/6YUWKsygWr9l5KgjbX6+dIm/a2b/lKHpcB9ktd gqoQiH8ExWnYP/go0v0UCtPnh8EzutUveM21YEW3S6HuYwtEIs3GPKO4ajth15KKCKpr 8N7qBIVqGgDiyyy34nttG5D/B5s1092vZYkwc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=YmvanjxBvK9K/tW1h5k06Odrl0Oip4Nt4Pv3vVHPq9R7vwTiqzUUA1kOaAD/OtuqjH tlo7czn9lXCdgnEN8aMfH0ojtaQ+UFuqgIqjxCkgSZ2m69ChD7dFY3iFCgDcVAyrur7t Za37bbsKgBPRCdGp37+S4sQ4hmFUj5XJlmMr8= Received: by 10.204.69.73 with SMTP id y9mr2071234bki.76.1289522455917; Thu, 11 Nov 2010 16:40:55 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id p34sm1240689bkf.3.2010.11.11.16.40.54 (version=SSLv3 cipher=RC4-MD5); Thu, 11 Nov 2010 16:40:55 -0800 (PST) Sender: Alexander Motin Message-ID: <4CDC8CFC.8040402@FreeBSD.org> Date: Fri, 12 Nov 2010 02:40:28 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: FreeBSD Stable , freebsd-mobile@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Subject: New event timers for 8-STABLE 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 00:40:58 -0000 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: - 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). -- Alexander Motin