login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
18
Re: RFC: A revised timerfd API
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Thomas Gleixner <tglx@...>
To: Michael Kerrisk <mtk-manpages@...>
Cc: <david@...>, <davidel@...>, <drepper@...>, <geoff@...>, <linux-kernel@...>, <akpm@...>, <hch@...>, <corbet@...>, <rdunlap@...>, <vda.linux@...>, <torvalds@...>, <Lee.Schermerhorn@...>
Subject:
Re: RFC: A revised timerfd API
Date: Tuesday, September 18, 2007 - 7:30 am
On Tue, 2007-09-18 at 13:08 +0200, Michael Kerrisk wrote:
quoted text
> > > it does make the API a little more clumsy. > > > > Hmm, we might do something like: > > > > timer_gettime(fd | POSIX_TIMER_FD, .....); > > > > So the kernel looks up the fd in order to figure out the timer_id, which > > needs to be referenced in filep->private_data anyway. > > And you'd need similar for timer_settime() and, perhaps, > timer_getoverrun(). But it seems slightly ugly, in the same way that > my idea in option (d) of returning a file descriptor from > timer_create() seems a slightly ugly. (And can we guarantee that > the [timerid] space is distinct from the [fd|POSIX_TIMER_FD] space?)
If we use the most significant bit for POSIX_TIMER_FD, we should be fine. tglx -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
RFC: A revised timerfd API
, Michael Kerrisk
, (Tue Sep 18, 3:27 am)
Re: RFC: A revised timerfd API
, Davide Libenzi
, (Tue Sep 18, 12:51 pm)
Re: RFC: A revised timerfd API
, Michael Kerrisk
, (Sat Sep 22, 9:12 am)
Re: RFC: A revised timerfd API
, Davide Libenzi
, (Sat Sep 22, 5:07 pm)
Re: RFC: A revised timerfd API
, Michael Kerrisk
, (Sun Sep 23, 1:33 pm)
Re: RFC: A revised timerfd API
, Davide Libenzi
, (Sun Sep 23, 2:33 pm)
Re: RFC: A revised timerfd API
, Davide Libenzi
, (Sun Sep 23, 2:41 pm)
Re: RFC: A revised timerfd API
, Michael Kerrisk
, (Sun Sep 23, 3:03 pm)
Re: RFC: A revised timerfd API
, Thomas Gleixner
, (Sat Sep 22, 5:26 pm)
Re: RFC: A revised timerfd API
, Davide Libenzi
, (Sat Sep 22, 7:21 pm)
Re: RFC: A revised timerfd API
, Thomas Gleixner
, (Sat Sep 22, 1:10 pm)
Re: RFC: A revised timerfd API
, Bernd Eckenfels
, (Sat Sep 22, 10:32 am)
Re: RFC: A revised timerfd API
, Michael Kerrisk
, (Sat Sep 22, 12:07 pm)
Re: RFC: A revised timerfd API
, David
, (Sat Sep 22, 7:37 pm)
Re: RFC: A revised timerfd API
, Thomas Gleixner
, (Sat Sep 22, 1:05 pm)
Re: RFC: A revised timerfd API
, Michael Kerrisk
, (Tue Sep 18, 3:30 am)
Re: RFC: A revised timerfd API
, Thomas Gleixner
, (Tue Sep 18, 5:10 am)
Re: RFC: A revised timerfd API
, Michael Kerrisk
, (Tue Sep 18, 5:30 am)
Re: RFC: A revised timerfd API
, Thomas Gleixner
, (Tue Sep 18, 5:42 am)
Re: RFC: A revised timerfd API
, Michael Kerrisk
, (Tue Sep 18, 7:08 am)
Re: RFC: A revised timerfd API
, Thomas Gleixner
, (Tue Sep 18, 7:30 am)
Re: RFC: A revised timerfd API
, David
, (Tue Sep 18, 9:13 am)
Re: RFC: A revised timerfd API
, Michael Kerrisk
, (Sat Sep 22, 9:03 am)
Re: RFC: A revised timerfd API
, David
, (Tue Sep 18, 4:05 am)
Re: RFC: A revised timerfd API
, Michael Kerrisk
, (Tue Sep 18, 5:01 am)
Re: RFC: A revised timerfd API
, Thomas Gleixner
, (Tue Sep 18, 5:27 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
git
:
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Colocation donated by:
Who's online
There are currently
3 users
and
718 guests
online.
Online users
beth01manz
roundthejollyro
hotelzorla
Syndicate