Re: [PATCH 1/2] sched: stop using magic values in sched_dynamic_mode

2021-03-25 Thread Peter Zijlstra
On Thu, Mar 25, 2021 at 01:45:14AM +0100, Rasmus Villemoes wrote: > Use the enum names which are also what is used in the switch() in > sched_dynamic_update(). > > Signed-off-by: Rasmus Villemoes Thanks for both!

[PATCH 1/2] sched: stop using magic values in sched_dynamic_mode

2021-03-24 Thread Rasmus Villemoes
Use the enum names which are also what is used in the switch() in sched_dynamic_update(). Signed-off-by: Rasmus Villemoes --- kernel/sched/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 98191218d891..3959481261bb 1