Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753459AbXIVXVd (ORCPT ); Sat, 22 Sep 2007 19:21:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750871AbXIVXVZ (ORCPT ); Sat, 22 Sep 2007 19:21:25 -0400 Received: from x35.xmailserver.org ([64.71.152.41]:36573 "EHLO x35.xmailserver.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750927AbXIVXVY (ORCPT ); Sat, 22 Sep 2007 19:21:24 -0400 X-AuthUser: davidel@xmailserver.org Date: Sat, 22 Sep 2007 16:21:19 -0700 (PDT) From: Davide Libenzi X-X-Sender: davide@alien.or.mcafeemobile.com To: Thomas Gleixner cc: Michael Kerrisk , Ulrich Drepper , geoff@gclare.org.uk, lkml , Andrew Morton , Christoph Hellwig , Jonathan Corbet , Randy Dunlap , vda.linux@googlemail.com, Linus Torvalds , Lee Schermerhorn , =?X-UNKNOWN?Q?David_H=E4rdeman?= Subject: Re: RFC: A revised timerfd API In-Reply-To: <1190496385.4035.124.camel@chaos> Message-ID: References: <46EF7DDA.2070401@gmx.net> <46F514C9.5010208@gmx.net> <1190496385.4035.124.camel@chaos> X-GPG-FINGRPRINT: CFAE 5BEE FD36 F65E E640 56FE 0974 BF23 270F 474E X-GPG-PUBLIC_KEY: http://www.xmailserver.org/davidel.asc MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1347 Lines: 38 On Sat, 22 Sep 2007, Thomas Gleixner wrote: > On Sat, 2007-09-22 at 14:07 -0700, Davide Libenzi wrote: > > On Sat, 22 Sep 2007, Michael Kerrisk wrote: > > > > > So I'm inclined to implement option (b), unless someone has strong > > > objections. Davide, could I persuade you to help? > > > > I guess I better do, otherwise you'll continue to stress me ;) > > > > int timerfd_create(int clockid); > > int timerfd_settime(int ufd, int flags, > > const struct itimerspec *utmr, > > struct itimerspec *otmr); > > int timerfd_gettime(int ufd, struct itimerspec *otmr); > > > > Patch below. Builds, not tested yet (you need to remove the "broken" > > status from CONFIG_TIMERFD in case you want to test - and plug the new > > syscall to arch/xxx). > > May that work for you? > > Thomas-san, hrtimer_try_to_cancel() does not touch ->expires and I assume > > it'll never do, granted? > > Davide-san, I have no intention to change that, but remember there is > this file "Documentation/stable_api_nonsense.txt" :) Heh, I guess that'll work then ;) - Davide - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/