[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220308065110.636947-1-wenjian1@xiaomi.com>
Date: Tue, 8 Mar 2022 14:51:08 +0800
From: Jian Wen <wenjianhn@...il.com>
To: peterz@...radead.org
Cc: mingo@...hat.com, juri.lelli@...hat.com,
vincent.guittot@...aro.org, dietmar.eggemann@....com,
rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
bristot@...hat.com, linux-kernel@...r.kernel.org,
Jian Wen <wenjian1@...omi.com>
Subject: [PATCH 0/2] fix schedstats for idle kthreads
Idle kthreads are sleeping instead of being blocked, since they are
not blocked at all.
This patch makes idle kthreads triggers the sched:sched_stat_sleep
event instead of sched:sched_stat_blocked.
Jian Wen (2):
sched: explicitly distinguish between TASK_INTERRUPTIBLE and
TASK_UNINTERRUPTIBLE
sched: fix schedstats for idle kthreads
kernel/sched/deadline.c | 5 ++---
kernel/sched/fair.c | 4 ++--
kernel/sched/rt.c | 5 ++---
3 files changed, 6 insertions(+), 8 deletions(-)
--
2.25.1
Powered by blists - more mailing lists