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


Groups > linux.kernel > #1452400

Re: [PATCH][v2] timekeeping: Fix memory overwrite of sleep_time_bin array

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH][v2] timekeeping: Fix memory overwrite of sleep_time_bin array
Date 2016-07-29 15:10 +0200
Message-ID <s0fI5-51U-9@gated-at.bofh.it> (permalink)
References <rWv8J-7LS-11@gated-at.bofh.it> <rWyJk-1Ja-15@gated-at.bofh.it> <rWz2G-1PI-7@gated-at.bofh.it> <rWAL7-2W9-13@gated-at.bofh.it> <s0cAx-2RM-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 29 Jul 2016, Chen Yu wrote:
> On Tue, Jul 19, 2016 at 12:40:14PM +0200, Thomas Gleixner wrote:
> 1st is to bypass the sleep time if pm_trace is involved(a little complicated
>     because it needs to deal with historical pm_trace), or
> 
> 2nd version is to introduce a sysfs interface to allow the
>     users to specify the threshold of sleep time, any delta
>     of tsc bigger than the threshold would be regarded as invalid.

That one is really overkill. We provide a proper sanity measure for this and
be done with it.

Thanks,

	tglx

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


Thread

Re: [PATCH][v2] timekeeping: Fix memory overwrite of sleep_time_bin  array Chen Yu <yu.c.chen@intel.com> - 2016-07-29 11:50 +0200
  Re: [PATCH][v2] timekeeping: Fix memory overwrite of sleep_time_bin  array Thomas Gleixner <tglx@linutronix.de> - 2016-07-29 15:10 +0200

csiph-web