Linux Power Management development
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Chen Yu <yu.c.chen@intel.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	John Stultz <john.stultz@linaro.org>,
	Xunlei Pang <xpang@redhat.com>, Zhang Rui <rui.zhang@intel.com>,
	Linux PM list <linux-pm@vger.kernel.org>,
	Linux Kernel Mail List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][v2] timekeeping: Fix memory overwrite of sleep_time_bin array
Date: Fri, 29 Jul 2016 14:59:09 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.11.1607291458090.19896@nanos> (raw)
In-Reply-To: <20160729095015.GB8076@sharon>

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

      reply	other threads:[~2016-07-29 13:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-19  4:51 [PATCH][v2] timekeeping: Fix memory overwrite of sleep_time_bin array Chen Yu
2016-07-19  8:36 ` Thomas Gleixner
2016-07-19  9:07   ` Chen Yu
2016-07-19 10:40     ` Thomas Gleixner
2016-07-20 11:06       ` Chen Yu
2016-07-20 12:59         ` Rafael J. Wysocki
2016-07-20 16:59           ` Chen, Yu C
2016-07-29  9:50       ` Chen Yu
2016-07-29 12:59         ` Thomas Gleixner [this message]

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=alpine.DEB.2.11.1607291458090.19896@nanos \
    --to=tglx@linutronix.de \
    --cc=john.stultz@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=rui.zhang@intel.com \
    --cc=xpang@redhat.com \
    --cc=yu.c.chen@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox