[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <32394.1187188807@lwn.net>
Date: Wed, 15 Aug 2007 08:40:07 -0600
From: corbet@....net (Jonathan Corbet)
To: Michael Kerrisk <mtk-manpages@....net>
Cc: lkml <linux-kernel@...r.kernel.org>,
Linux Torvalds <torvalds@...ux-foundation.org>,
Davide Libenzi <davidel@...ilserver.org>, drepper@...hat.com,
stable@...nel.org, Christoph Hellwig <hch@....de>,
Randy Dunlap <rdunlap@...otime.net>,
Jan Engelhardt <jengelh@...putergmbh.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] Revised timerfd() interface
Sorry for the late commentary...as I looked this over, one thing popped
into my mind....
> b) Make the 'clockid' immutable: it can only be set
> if 'ufd' is -1 -- that is, on the timerfd() call that
> first creates a timer.
timerfd() is looking increasingly like a multiplexor system call in
disguise. There is no form of invocation which uses all of the
arguments. Are we sure we wouldn't rather have something like:
timerfd_open(clock);
timerfd_adjust(fd, new_time, old_time);
?
jon
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists