Re: [PATCH V2] sched: Forward deadline for early tick

From: zihan zhou
Date: Mon Jan 20 2025 - 02:46:13 EST


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.