All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, hpa@zytor.com,
	linux-tip-commits@vger.kernel.org
Subject: Re: [tip:timers/urgent] ktime: Get rid of the union
Date: Wed, 4 Jan 2017 10:39:19 +0100	[thread overview]
Message-ID: <20170104093919.GC25813@worktop.programming.kicks-ass.net> (raw)
In-Reply-To: <alpine.DEB.2.20.1701040953140.3620@nanos>

On Wed, Jan 04, 2017 at 09:54:12AM +0100, Thomas Gleixner wrote:
> On Tue, 3 Jan 2017, Peter Zijlstra wrote:

> > > Get rid of the union and just keep ktime_t as simple typedef of type s64.
> > 
> > All good stuff. One question that remains is why keep the type while
> > removing the cycles_t type?
> 
> That would have been a massive surgery which I was not able to pull off on
> top of the other changes.

And the reason ktime needs be s64 is because 0 is at boot, and we need
to represent time before boot, right? Might want to stick that in a
comment somewhere near that typedef, so I don't keep asking this ;-)

  reply	other threads:[~2017-01-04  9:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tip-64dac5c9e0f5a933e4520f0cb689b7b143925207@git.kernel.org>
2017-01-03 10:36 ` [tip:timers/urgent] ktime: Get rid of the union Peter Zijlstra
2017-01-04  8:54   ` Thomas Gleixner
2017-01-04  9:39     ` Peter Zijlstra [this message]
2017-01-04 13:47       ` Frederic Weisbecker

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=20170104093919.GC25813@worktop.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=tglx@linutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.