sched: remove the redundant comments
PATCH 1/1 sched: remove the redundant comments
Since the commit 55627e3cd22c ("sched/core: Remove rq->cpu_load[]"), we don't need this any more.
--- kernel/sched/sched.h | 5 ----- 1 file changed, 5 deletions(-)
kernel/sched/sched.h +0 -5
@@ -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;
Signature · 1 line
2.25.1
Quoted 14 lines · Hui Su
Since the commit
55627e3cd22c("sched/core: Remove rq->cpu_load[]"), we don't need this any more.Signed-off-by Hui Su <[email protected]>--- kernel/sched/sched.h | 5 ----- 1 file changed, 5 deletions(-)kernel/sched/sched.h +0
-0@@ -897,11 +897,6 @@ DECLARE_STATIC_KEY_FALSE(sched_uclamp_used);struct rq {
kernel/sched/sched.h DECLARE_STATIC_KEY_FALSE(sched_uclamp_used); · line 902
Quoted 10 lines
kernel/sched/sched.h +0
-5/* 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
line.
Steven Rostedt
reviewerQuoted 15 lines · On Tue, 13 Apr 2021 10:36:07 +0200 Dietmar Eggemann <[email protected]>…
kernel/sched/sched.h DECLARE_STATIC_KEY_FALSE(sched_uclamp_used); · line 902
Quoted 12 lines
kernel/sched/sched.h +0
-5@@ -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.
Quoted 5 lines
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
Dietmar Eggemann
reviewerQuoted 2 lines · Steven Rostedt
On Tue, 13 Apr 2021 10:36:07 +0200
Dietmar Eggemann <[email protected]> wrote:
[...]
Quoted 9 lines
Quoted 5 lines
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.