Re: [PATCH 08/10] psi: pressure stall information for CPU, memory, and IO
From: Peter Zijlstra <peterz@infradead.org>
Date: 2018-07-17 14:16:36
Also in:
linux-mm, lkml
From: Peter Zijlstra <peterz@infradead.org>
Date: 2018-07-17 14:16:36
Also in:
linux-mm, lkml
On Thu, Jul 12, 2018 at 01:29:40PM -0400, Johannes Weiner wrote:
+/* Tracked task states */
+enum psi_task_count {
+ NR_RUNNING,
+ NR_IOWAIT,
+ NR_MEMSTALL,
+ NR_PSI_TASK_COUNTS,
+};+/* Resources that workloads could be stalled on */
+enum psi_res {
+ PSI_CPU,
+ PSI_MEM,
+ PSI_IO,
+ NR_PSI_RESOURCES,
+};These two have mem and iowait in different order. It really doesn't matter, but my brain stumbled.