[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1607291458090.19896@nanos>
Date: Fri, 29 Jul 2016 14:59:09 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Chen Yu <yu.c.chen@...el.com>
cc: "Rafael J. Wysocki" <rjw@...ysocki.net>,
John Stultz <john.stultz@...aro.org>,
Xunlei Pang <xpang@...hat.com>,
Zhang Rui <rui.zhang@...el.com>,
Linux PM list <linux-pm@...r.kernel.org>,
Linux Kernel Mail List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][v2] timekeeping: Fix memory overwrite of sleep_time_bin
array
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
Powered by blists - more mailing lists