linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Li Hua <hucool.lihua@huawei.com>
To: <frederic@kernel.org>
Cc: <bristot@redhat.com>, <bsegall@google.com>,
	<dietmar.eggemann@arm.com>, <hucool.lihua@huawei.com>,
	<juri.lelli@redhat.com>, <linux-kernel@vger.kernel.org>,
	<mgorman@suse.de>, <mingo@redhat.com>, <peterz@infradead.org>,
	<rostedt@goodmis.org>, <vincent.guittot@linaro.org>
Subject: Re: [Question] Reading /proc/stat has a time backward issue
Date: Sun, 14 Aug 2022 02:58:38 +0800	[thread overview]
Message-ID: <20220813185838.49743-1-hucool.lihua@huawei.com> (raw)
In-Reply-To: <20220811124958.GB3284884@lothringen>

Sorry for not seeing your reply in time

Your patch doesn't seem to fix the problem.  The root cause of the problem is that
the "vtime->utime" and "delta" are temporarily added to the stack and show to the user.

I tried to submit a patch to avoid presenting time backwards to the user. as bellow:
https://lkml.org/lkml/2022/8/12/261

Hope you have better suggestions, thank you for your reply.

      reply	other threads:[~2022-08-13  5:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27  4:02 [Question] Reading /proc/stat has a time backward issue Lihua (lihua, ran)
2022-08-04  7:44 ` Lihua (lihua, ran)
2022-08-08 12:23   ` Lihua (lihua, ran)
2022-08-11 12:49     ` Frederic Weisbecker
2022-08-13 18:58       ` Li Hua [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=20220813185838.49743-1-hucool.lihua@huawei.com \
    --to=hucool.lihua@huawei.com \
    --cc=bristot@redhat.com \
    --cc=bsegall@google.com \
    --cc=dietmar.eggemann@arm.com \
    --cc=frederic@kernel.org \
    --cc=juri.lelli@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=vincent.guittot@linaro.org \
    /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;
as well as URLs for NNTP newsgroup(s).