From: Davide Libenzi <davidel@xmailserver.org>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [patch 6/9] signalfd/timerfd v3 - timerfd core ...
Date: Mon, 12 Mar 2007 12:00:34 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0703121158060.6936@alien.or.mcafeemobile.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0703121142120.6936@alien.or.mcafeemobile.com>
On Mon, 12 Mar 2007, Davide Libenzi wrote:
> On Mon, 12 Mar 2007, Thomas Gleixner wrote:
>
> > Davide,
> >
> > On Sun, 2007-03-11 at 16:04 -0700, Davide Libenzi wrote:
> > > +static int timerfd_setup(struct timerfd_ctx *ctx, int clockid, int tmrtype,
> > > + const struct itimerspec *ktmr)
> > > +{
> > > + enum hrtimer_mode htmode;
> > > + ktime_t texp, tintv;
> > > +
> > > + if (clockid != CLOCK_MONOTONIC &&
> > > + clockid != CLOCK_REALTIME)
> > > + return -EINVAL;
Maybe a function in hrtimer.c/h like hrtimer_valid_clockid(clockid_t id)
to avoid bolting in clockid_t values in timerfd.c?
- Davide
prev parent reply other threads:[~2007-03-12 19:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-11 23:04 Davide Libenzi
2007-03-11 23:13 ` Davide Libenzi
2007-03-11 23:50 ` Nicholas Miell
2007-03-11 23:52 ` Nicholas Miell
2007-03-12 0:16 ` Davide Libenzi
2007-03-12 10:19 ` Thomas Gleixner
2007-03-12 18:46 ` Davide Libenzi
2007-03-12 19:00 ` Davide Libenzi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0703121158060.6936@alien.or.mcafeemobile.com \
--to=davidel@xmailserver.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®