From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 3 20:36:13 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97B06D78; Fri, 3 Oct 2014 20:36:13 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7058E223; Fri, 3 Oct 2014 20:36:13 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id EA3BAB995; Fri, 3 Oct 2014 16:36:11 -0400 (EDT) From: John Baldwin To: Ian Lepore Subject: Re: freebsd 10 kqueue timer regression Date: Fri, 03 Oct 2014 16:35:39 -0400 Message-ID: <3432803.0HkSRzvHj6@ralph.baldwin.cx> User-Agent: KMail/4.12.5 (FreeBSD/10.1-BETA2; KDE/4.12.5; amd64; ; ) In-Reply-To: <1412353016.12052.82.camel@revolution.hippie.lan> References: <8ABC0977-FB8F-45E7-ACCC-BFA92EE22E1C@glccom.com> <2499075.KMdpQjyIZI@ralph.baldwin.cx> <1412353016.12052.82.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 03 Oct 2014 16:36:12 -0400 (EDT) Cc: freebsd-hackers@freebsd.org, Adrian Chadd , Paul Albrecht X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2014 20:36:13 -0000 On Friday, October 03, 2014 10:16:56 AM Ian Lepore wrote: > On Fri, 2014-10-03 at 08:50 -0400, John Baldwin wrote: > > That said, I think one of the reasons the old code worked was that the > > previous callout had the equivalent of the C_HARDCLOCK flag set. Thus, > > when the timer interrupt fires and we rescheuled for N ticks, it was > > actually N ticks -