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


Groups > linux.kernel > #1464972

Re: [PATCH] timekeeping: Cap array access in timekeeping_debug to protect against invalid sleep times

From Chen Yu <yu.c.chen@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] timekeeping: Cap array access in timekeeping_debug to protect against invalid sleep times
Date 2016-08-18 09:30 +0200
Message-ID <s7pW1-4X1-13@gated-at.bofh.it> (permalink)
References <s0En7-4fh-7@gated-at.bofh.it> <s7exz-5ga-1@gated-at.bofh.it> <s7k0h-PY-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 2016年08月18日 09:09, Rafael J. Wysocki wrote:
> If pm_trace_enabled is set, we can (or maybe even should) just skip
> timekeeping_inject_sleeptime() entirely in rtc_resume() at least, because
> sleep_time is almost certainly bogus in that case, even if it doesn't
> overflow.
>
> Of course, the above is still needed then.
>
> Thanks,
> Rafael
>
OK, I'll provide another version on top of John's patch and consider the 
pm_trace. thanks.
Yu

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


Thread

[PATCH] timekeeping: Cap array access in timekeeping_debug to protect against invalid sleep times John Stultz <john.stultz@linaro.org> - 2016-08-17 21:20 +0200
  Re: [PATCH] timekeeping: Cap array access in timekeeping_debug to protect against invalid sleep times "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-08-18 03:10 +0200
    Re: [PATCH] timekeeping: Cap array access in timekeeping_debug to  protect against invalid sleep times Chen Yu <yu.c.chen@intel.com> - 2016-08-18 09:30 +0200

csiph-web