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/13] signal/timer/event fds v6 - timerfd core ...
Date: Fri, 16 Mar 2007 09:02:27 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0703160901040.13402@alien.or.mcafeemobile.com> (raw)
In-Reply-To: <1174031144.13341.249.camel@localhost.localdomain>
On Fri, 16 Mar 2007, Thomas Gleixner wrote:
> On Thu, 2007-03-15 at 17:22 -0700, Davide Libenzi wrote:
> > +static void timerfd_setup(struct timerfd_ctx *ctx, int clockid, int flags,
> > + const struct itimerspec *ktmr)
> > +{
> > + enum hrtimer_mode htmode;
> > +
> > + htmode = (flags & TFD_TIMER_ABSTIME) ? HRTIMER_MODE_ABS: HRTIMER_MODE_REL;
> > +
> > + ctx->ticks = 0;
> > + ctx->texp = timespec_to_ktime(ktmr->it_value);
>
> I know, I'm racking your nerves. texp is only used for setup. No need to
> carry it in the ctx data structure. :)
Heh, I had that feeling, that I had forgot one of those :)
- Davide
next prev parent reply other threads:[~2007-03-16 16:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-16 0:22 Davide Libenzi
2007-03-16 7:45 ` Thomas Gleixner
2007-03-16 16:02 ` Davide Libenzi [this message]
2007-03-17 21:36 ` Arnd Bergmann
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.0703160901040.13402@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®