From: Michael Gilbert <mgilbert@debian.org>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] timekeeping: handle epoch roll-over (2038) on 32-bit systems
Date: Sat, 24 Aug 2013 23:47:32 +0000 (UTC) [thread overview]
Message-ID: <loom.20130825T005015-983@post.gmane.org> (raw)
In-Reply-To: alpine.LFD.2.02.1306072308040.24812@ionos
Thomas Gleixner writes:
> That time value should be 64bit, also people might argue, that we are
> creating a new issue for the year 2554, i.e 541 years from now. I
> don't think we need to worry about that really. We have to leave our
> grand-grand-grand..grandchildren (~20 generations from now) a few
> unsolved problems!
Or at the measly cost of 8 additional bytes, solve the problem well and good
for the entirety of the human race :)
128 (unsigned) bits defers the rollover problem for 1e-9*(2**128)/3600/24/365
= 1e22 years, or 770 billion times longer than the current age of the
universe.
That of course hedges on a 128-bit integer C standard within the next 25
years ;)
Best wishes,
Mike
next prev parent reply other threads:[~2013-08-25 0:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-03 13:34 [PATCH] timekeeping: handle epoch roll-over (2038) on 32-bit systems Tobias Waldekranz
2013-06-03 14:34 ` Thomas Gleixner
2013-06-03 19:04 ` John Stultz
2013-06-07 21:53 ` Thomas Gleixner
2013-06-20 12:34 ` Ingo Molnar
2013-08-24 23:47 ` Michael Gilbert [this message]
2013-06-04 6:59 ` Tobias Waldekranz
2013-06-07 20:57 ` Thomas Gleixner
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=loom.20130825T005015-983@post.gmane.org \
--to=mgilbert@debian.org \
--cc=linux-kernel@vger.kernel.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 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.