From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valdis.Kletnieks@vt.edu Subject: Re: [PATCH] [RFC] timerfd: add TFD_NOTIFY_CLOCK_SET to watch for clock changes Date: Wed, 01 Dec 2010 17:46:09 -0500 Message-ID: <20180.1291243569@localhost> References: <1290532938-7332-1-git-send-email-virtuoso@slind.org> <20101123224346.GA19350@tango.0pointer.de> <20101201104359.GJ22787@shareable.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1291243569_5106P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Cc: Lennart Poettering , Alexander Shishkin , linux-kernel@vger.kernel.org, Thomas Gleixner , Alexander Viro , Greg Kroah-Hartman , Feng Tang , Andrew Morton , Michael Tokarev , Marcelo Tosatti , John Stultz , Chris Friesen , Kay Sievers , "Kirill A. Shutemov" , Artem Bityutskiy , Davide Libenzi , linux-fsdevel@vger.kernel.org To: Jamie Lokier Return-path: Received: from lennier.cc.vt.edu ([198.82.162.213]:50403 "EHLO lennier.cc.vt.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752207Ab0LAWrD (ORCPT ); Wed, 1 Dec 2010 17:47:03 -0500 In-Reply-To: Your message of "Wed, 01 Dec 2010 10:43:59 GMT." <20101201104359.GJ22787@shareable.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: --==_Exmh_1291243569_5106P Content-Type: text/plain; charset=us-ascii On Wed, 01 Dec 2010 10:43:59 GMT, Jamie Lokier said: > So maybe CLOCK_MONOTONIC should be changed to include elapsed time > during suspend/resume, and CLOCK_MONOTONIC_RAW could remain as it is, > for programs that want that? Wouldn't that be an API break for programs that are expecting the current behavior of CLOCK_MONOTONIC? Yes, there should be a way to request either of them - but if there's only one way now, it should continue to act the current way, and the added way is the second option. --==_Exmh_1291243569_5106P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQFM9tAxcC3lWbTT17ARAq83AKD3l4x8J6GenNArbVxWjroVAqYMBQCgx6jH 0zSg7GwZh+i6qj6oBH0g4Do= =Jrmy -----END PGP SIGNATURE----- --==_Exmh_1291243569_5106P--