[PATCH] cgroup: remove obsolete comment above struct cgroupstats

Miaohe Lin posted 1 patch 2 years, 6 months ago
include/uapi/linux/cgroupstats.h | 2 --
1 file changed, 2 deletions(-)
[PATCH] cgroup: remove obsolete comment above struct cgroupstats
Posted by Miaohe Lin 2 years, 6 months ago
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 <linmiaohe@huawei.com>
---
 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
Re: [PATCH] cgroup: remove obsolete comment above struct cgroupstats
Posted by Tejun Heo 2 years, 6 months ago
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 <linmiaohe@huawei.com>

Applied to cgroup/for-6.6.

Thanks.

-- 
tejun