* [PATCH] sched: remove the redundant comments
@ 2021-04-12 7:39 Hui Su
2021-04-13 8:36 ` Dietmar Eggemann
0 siblings, 1 reply; 4+ messages in thread
From: Hui Su @ 2021-04-12 7:39 UTC (permalink / raw)
To: mingo, peterz, juri.lelli, vincent.guittot, dietmar.eggemann,
rostedt, bsegall, mgorman, bristot, linux-kernel
Cc: Hui Su
Since the commit 55627e3cd22c ("sched/core: Remove rq->cpu_load[]"),
we don't need this any more.
Signed-off-by: Hui Su <suhui@zeku.com>
---
kernel/sched/sched.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 10a1522b1e30..2232022d8561 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -897,11 +897,6 @@ DECLARE_STATIC_KEY_FALSE(sched_uclamp_used);
struct rq {
/* runqueue lock: */
raw_spinlock_t lock;
-
- /*
- * nr_running and cpu_load should be in the same cacheline because
- * remote CPUs use both these fields when doing load calculation.
- */
unsigned int nr_running;
#ifdef CONFIG_NUMA_BALANCING
unsigned int nr_numa_running;
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] sched: remove the redundant comments
2021-04-12 7:39 [PATCH] sched: remove the redundant comments Hui Su
@ 2021-04-13 8:36 ` Dietmar Eggemann
2021-04-13 16:28 ` Steven Rostedt
0 siblings, 1 reply; 4+ messages in thread
From: Dietmar Eggemann @ 2021-04-13 8:36 UTC (permalink / raw)
To: Hui Su, mingo, peterz, juri.lelli, vincent.guittot, rostedt,
bsegall, mgorman, bristot, linux-kernel
On 12/04/2021 09:39, Hui Su wrote:
> Since the commit 55627e3cd22c ("sched/core: Remove rq->cpu_load[]"),
> we don't need this any more.
>
> Signed-off-by: Hui Su <suhui@zeku.com>
> ---
> kernel/sched/sched.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
> index 10a1522b1e30..2232022d8561 100644
> --- a/kernel/sched/sched.h
> +++ b/kernel/sched/sched.h
> @@ -897,11 +897,6 @@ DECLARE_STATIC_KEY_FALSE(sched_uclamp_used);
> struct rq {
> /* runqueue lock: */
> raw_spinlock_t lock;
> -
> - /*
> - * nr_running and cpu_load should be in the same cacheline because
> - * remote CPUs use both these fields when doing load calculation.
> - */
> unsigned int nr_running;
> #ifdef CONFIG_NUMA_BALANCING
> unsigned int nr_numa_running;
I forgot to remove this snippet back then. LGTM.
Add a
Fixes: 55627e3cd22c ("sched/core: Remove rq->cpu_load[]")
line.
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sched: remove the redundant comments
2021-04-13 8:36 ` Dietmar Eggemann
@ 2021-04-13 16:28 ` Steven Rostedt
2021-04-13 17:14 ` Dietmar Eggemann
0 siblings, 1 reply; 4+ messages in thread
From: Steven Rostedt @ 2021-04-13 16:28 UTC (permalink / raw)
To: Dietmar Eggemann
Cc: Hui Su, mingo, peterz, juri.lelli, vincent.guittot, bsegall,
mgorman, bristot, linux-kernel
On Tue, 13 Apr 2021 10:36:07 +0200
Dietmar Eggemann <dietmar.eggemann@arm.com> wrote:
> > @@ -897,11 +897,6 @@ DECLARE_STATIC_KEY_FALSE(sched_uclamp_used);
> > struct rq {
> > /* runqueue lock: */
> > raw_spinlock_t lock;
> > -
> > - /*
> > - * nr_running and cpu_load should be in the same cacheline because
> > - * remote CPUs use both these fields when doing load calculation.
> > - */
> > unsigned int nr_running;
> > #ifdef CONFIG_NUMA_BALANCING
> > unsigned int nr_numa_running;
>
> I forgot to remove this snippet back then. LGTM.
>
> Add a
>
> Fixes: 55627e3cd22c ("sched/core: Remove rq->cpu_load[]")
>
> line.
It's just removing a comment. Should it really need a "Fixes" tag, which
will cause many people to look at it to determine if it should be
backported to stable?
-- Steve
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sched: remove the redundant comments
2021-04-13 16:28 ` Steven Rostedt
@ 2021-04-13 17:14 ` Dietmar Eggemann
0 siblings, 0 replies; 4+ messages in thread
From: Dietmar Eggemann @ 2021-04-13 17:14 UTC (permalink / raw)
To: Steven Rostedt
Cc: Hui Su, mingo, peterz, juri.lelli, vincent.guittot, bsegall,
mgorman, bristot, linux-kernel
On 13/04/2021 18:28, Steven Rostedt wrote:
> On Tue, 13 Apr 2021 10:36:07 +0200
> Dietmar Eggemann <dietmar.eggemann@arm.com> wrote:
[...]
>> Add a
>>
>> Fixes: 55627e3cd22c ("sched/core: Remove rq->cpu_load[]")
>>
>> line.
>
> It's just removing a comment. Should it really need a "Fixes" tag, which
> will cause many people to look at it to determine if it should be
> backported to stable?
I see, in this case let's skip it.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-13 17:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 7:39 [PATCH] sched: remove the redundant comments Hui Su
2021-04-13 8:36 ` Dietmar Eggemann
2021-04-13 16:28 ` Steven Rostedt
2021-04-13 17:14 ` Dietmar Eggemann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.