[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250120074901.49708-1-15645113830zzh@gmail.com>
Date: Mon, 20 Jan 2025 15:49:02 +0800
From: zihan zhou <15645113830zzh@...il.com>
To: peterz@...radead.org
Cc: 15645113830zzh@...il.com,
bsegall@...gle.com,
dietmar.eggemann@....com,
juri.lelli@...hat.com,
linux-kernel@...r.kernel.org,
mgorman@...e.de,
mingo@...hat.com,
rostedt@...dmis.org,
vincent.guittot@...aro.org,
vschneid@...hat.com,
yaowenchao@...com,
yaozhenguo@...com,
zhouzihan30@...com
Subject: Re: [PATCH V1] sched/debug: change "runnable tasks" to "Tasks on cpu" on sched debug
Thanks for your reply.
> > >
> > > In sched debug file /sys/kernel/debug/sched/debug, there is a "runnable
> > > tasks" table, but not all tasks in the table are runnable.
> > > It is inappropriate to refer to this table as "runnable tasks", so here it
> > > is changed to "Tasks on CPU %d", like:
> >
> > We have used replaced runnable by queued in fair scheduler
>
> Right, but also 'tasks on cpu' is equally wrong -- but really, if you're
> looking at sched/debug you have to know what you're doing anyway, so why
> bother with trivial stuff like this?
Sorry, I just wanted to participate more in the kernel community. While
debugging the scheduler, I found this wording error. It doesn't really
affect anything, it just looks a bit awkward.
By the way, I am confused why 'tasks on cpu' is wrong. I think that
the tasks in the table are on a certain CPU, maybe they are sleeping,
but at least they were running on this CPU at the last moment.
Looking forward to your answer. Of course, this matter doesn't seem
important, and I will try to understand it myself in the future.
Powered by blists - more mailing lists