lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200915193627.85423-1-tom.hromatka@oracle.com>
Date:   Tue, 15 Sep 2020 13:36:25 -0600
From:   Tom Hromatka <tom.hromatka@...cle.com>
To:     tom.hromatka@...cle.com, linux-kernel@...r.kernel.org,
        linux-fsdevel@...r.kernel.org, fweisbec@...il.com,
        tglx@...utronix.de, mingo@...nel.org, adobriyan@...il.com
Subject: [PATCH v2 0/2] iowait and idle fixes in /proc/stat

A customer is using /proc/stat to track cpu usage in a VM and noted
that the iowait and idle times behave strangely when a cpu goes
offline and comes back online.

This patchset addresses two issues that can cause iowait and idle
to fluctuate up and down.  With these changes, cpu iowait and idle
now only increase.

Changes from v1 to v2:
* Cleaned up commit messages
* Clarified code comments
* Further optimized the logic in fs/proc/stat.c

Tom Hromatka (2):
  tick-sched: Do not clear the iowait and idle times
  /proc/stat: Simplify iowait and idle calculations when cpu is offline

 fs/proc/stat.c           | 26 ++------------------------
 kernel/time/tick-sched.c |  9 +++++++++
 2 files changed, 11 insertions(+), 24 deletions(-)

-- 
2.25.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ