From owner-svn-src-head@freebsd.org Mon Jan 4 16:21:59 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B1C7A61D1C; Mon, 4 Jan 2016 16:21:59 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2BA6D109B; Mon, 4 Jan 2016 16:21:59 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x242.google.com with SMTP id k127so28699848iok.1; Mon, 04 Jan 2016 08:21:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=zzjDfCW2KPHNA7MrwlZxv+vgcu/0laClQEC6qa9yl+I=; b=yuQcrBIC7FY9vR8eI24vUVmTnoZtSGyZuy26ZQNy0ykHkRrsoyfxo3GyQQxJxhtkox wvxbLo80+XaHjxuPCcOqFy7GpOSNoVwd7JoT1Ybj3mW+J1kq/p801dwv3UhocATMrWKZ tM+AAybxR7TChH7OiQKaieRDI0VmLxjqgOVCVoe5DSGY0UTfK0TlvflvwzhK09Eeg6Iy UmkqKff6HNVFDK471WvlbWQ6CBgOZLZEFIeXAiKxV7oIUKTd4SzK+Gn4XC1CjC8u+hsb 8pbFYCRRZMmpIOb85bO9C0bXTCI2RSyqR3PUz4NEIIIBX6y3pxipRyKXkLWjverVoO/j yYqw== MIME-Version: 1.0 X-Received: by 10.107.10.217 with SMTP id 86mr68702036iok.75.1451924518361; Mon, 04 Jan 2016 08:21:58 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.121.202 with HTTP; Mon, 4 Jan 2016 08:21:58 -0800 (PST) In-Reply-To: <2558363.cYPdmfTgJ4@ralph.baldwin.cx> References: <201601010021.u010L7sW006625@repo.freebsd.org> <5919271.R3YaC4QkYh@ralph.baldwin.cx> <2558363.cYPdmfTgJ4@ralph.baldwin.cx> Date: Mon, 4 Jan 2016 08:21:58 -0800 X-Google-Sender-Auth: D-jnHT0MsfaS5VbI12agitnnwLw Message-ID: Subject: Re: svn commit: r293022 - head/sys/net80211 From: Adrian Chadd To: John Baldwin Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2016 16:21:59 -0000 On 4 January 2016 at 07:47, John Baldwin wrote: > On Friday, January 01, 2016 07:41:42 PM Adrian Chadd wrote: >> yup. all of this is ... terrible atm. >> >> I do need to be able to give a bounds though. :( > > The _sbt variants let you specify a bounds for the "fuzzy". You > give the deadline time as one value ('sbt') and an upper bound on > how long to delay extra as the second ('pr'). The wait will > timeout sometime between 'sbt' and 'sbt + pr'. > > Alternatively, you can leave 'pr' as 0 and encode the precision > via the C_PREL() flags instead as described in callout(9). (I > think how to use sbintime_t should probably be broken out into > a separate sbintime(9) manpage that callout(9) and other consumers > reference rather than being buried in callout(9) to make it easier > to figure out how to use these. The same manpage can also talk > about the SBT_* constants and how to generate sbintime_t values > from known reference times.) I dug into it a few months ago and found it was .. not quite as bounded fuzzy :( -a