Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1251422

Re: [RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with relative timeouts

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with relative timeouts
Date 2015-10-20 10:20 +0200
Message-ID <qlAjf-6os-1@gated-at.bofh.it> (permalink)
References <qhBdU-54V-23@gated-at.bofh.it> <qlnP4-4FP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Monday 19 October 2015 11:53:25 John Stultz wrote:
> 
> But yea. At the same time I get you want to avoid user-pain like in
> the case of the badly initialized RTC, but in that case would
> returning 0 for RTC reads greater then y2038 on 32 bit systems be a
> more sane fix?

I like that idea. In theory we could go further and check that the RTC
is somewhere between 2015 and 2037 (or higher on 64-bit systems) but
return 0 (1970) for anything that is outside of that range. That might
have side-effects for users that have a legitimate reason to backdate
their clocks though.

	Arnd
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with  relative timeouts John Stultz <john.stultz@linaro.org> - 2015-10-19 21:00 +0200
  Re: [RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with  relative timeouts Miroslav Lichvar <mlichvar@redhat.com> - 2015-10-20 09:40 +0200
  Re: [RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with relative timeouts Arnd Bergmann <arnd@arndb.de> - 2015-10-20 10:20 +0200
    Re: [RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with  relative timeouts Jesper Nilsson <jesper.nilsson@axis.com> - 2015-10-20 11:10 +0200
      Re: [RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with relative timeouts Arnd Bergmann <arnd@arndb.de> - 2015-10-20 13:10 +0200

csiph-web