2023-07-13 12:45:48

by Miaohe Lin

[permalink] [raw]
Subject: [PATCH] cgroup: remove obsolete comment above struct cgroupstats

There's no flag in the delay accounting structure indicates that the task
is waiting on IO since commit 1193829da1a6 ("delayacct: cleanup flags in
struct task_delay_info and functions use it"). So remove the comment.

Signed-off-by: Miaohe Lin <[email protected]>
---
include/uapi/linux/cgroupstats.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/uapi/linux/cgroupstats.h b/include/uapi/linux/cgroupstats.h
index aa306e4cd6c1..80b2c8594480 100644
--- a/include/uapi/linux/cgroupstats.h
+++ b/include/uapi/linux/cgroupstats.h
@@ -24,8 +24,6 @@
* basis. This data is shared using taskstats.
*
* Most of these states are derived by looking at the task->state value
- * For the nr_io_wait state, a flag in the delay accounting structure
- * indicates that the task is waiting on IO
*
* Each member is aligned to a 8 byte boundary.
*/
--
2.33.0



2023-07-14 19:24:01

by Tejun Heo

[permalink] [raw]
Subject: Re: [PATCH] cgroup: remove obsolete comment above struct cgroupstats

On Thu, Jul 13, 2023 at 07:59:38PM +0800, Miaohe Lin wrote:
> There's no flag in the delay accounting structure indicates that the task
> is waiting on IO since commit 1193829da1a6 ("delayacct: cleanup flags in
> struct task_delay_info and functions use it"). So remove the comment.
>
> Signed-off-by: Miaohe Lin <[email protected]>

Applied to cgroup/for-6.6.

Thanks.

--
tejun