From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 13 13:15:56 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4194698 for ; Sun, 13 Apr 2014 13:15:56 +0000 (UTC) Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 55EF11D00 for ; Sun, 13 Apr 2014 13:15:56 +0000 (UTC) Received: by mail-we0-f173.google.com with SMTP id w61so7011601wes.4 for ; Sun, 13 Apr 2014 06:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Ku2rlsEakxow4BFAp1jVrzOLhT55+7huWi8f/L6i1ME=; b=ve7IXoPcY+rbwBUCnssKTD/I0M87urGOMlMR5hXb8gLNrpKK4N4+wzP0eVynJnfOHU yosb89I/3HS341kTxNzVy17R8dX5sk6hU5v0r38+D0CXMhLK6NRYoG3AN0n0mpXHiRQc LSVE2h+P2FOkj3knLIrWkh4gNI1bppGDQA0qKlZt0FZrr5TowsxUIoXBE9BGteoollq/ yZR9wuai/TnseTnQIO4vagVt/JfhBFrDJLbf5zBdP62+4yo1LAiK9Jh1GM6uhCq1ov6o is0Y4P39loO5tunIjek0vHgNwKL8ez3e3S0JljHKz8fySwYaYA59hrpOulU/xRPi+j38 OfHg== X-Received: by 10.180.188.66 with SMTP id fy2mr5756773wic.45.1397394954633; Sun, 13 Apr 2014 06:15:54 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id kp5sm20342767wjb.30.2014.04.13.06.15.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Apr 2014 06:15:53 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 13 Apr 2014 15:15:51 +0200 From: Baptiste Daroussin To: John-Mark Gurney , "freebsd-hackers@freebsd.org" , desrt@desrt.ca Subject: Re: [CFR] Kevent timer improvements Message-ID: <20140413131550.GD17898@ivaldir.etoilebsd.net> References: <20140310131632.GI6900@ithaqua.etoilebsd.net> <20140310180404.GI32089@funkthat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OaZoDhBhXzo6bW1J" Content-Disposition: inline In-Reply-To: <20140310180404.GI32089@funkthat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2014 13:15:56 -0000 --OaZoDhBhXzo6bW1J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 10, 2014 at 11:04:04AM -0700, John-Mark Gurney wrote: > Adrian Chadd wrote this message on Mon, Mar 10, 2014 at 10:47 -0700: > > On 10 March 2014 06:16, Baptiste Daroussin wrote: > > > A glib developer pointed me to some of the improvements Apple has don= e on > > > kqueue(2), some of those improvements are used or will be used by gli= b in the > > > near futur, plus add new one. > > > > > > I decided to implement part of it and here is the first patch about i= t: > > > http://people.freebsd.org/~bapt/kevent.diff > >=20 > > +jmg, he's also done stuff with queue. >=20 > and the maintainer of kqueue.. :) >=20 > The patch looks fine, but it's missing the updates to kqueue(2) to > describe what the new flags do... >=20 > Also, it would be good to see updates to tools/regression/kqueue/timer.c > to support the additional flags to make sure that they don't break in > the future... >=20 I have splitted my patch in multiple parts, let start with the first one: adding NOTE_NSECONDS, NOTE_USECONDS, NOTE_NSECONDS http://people.freebsd.org/~bapt/kevent_timer.diff if ok I'll commit that one first then finish NOTE_MONOTONIC and in 3rd part add the regression tests. regards, Bapt --OaZoDhBhXzo6bW1J Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlNKjgYACgkQ8kTtMUmk6EzKiQCfd+56MELkiKEwW99b+2schaau FmMAnikei58ZgSP950xdqv+nA+Ica2Ug =ZK6D -----END PGP SIGNATURE----- --OaZoDhBhXzo6bW1J--