Re: [PATCH 1/1] kernel/sched:use the enum code replace of the int variable

2020-09-11 Thread peterz
On Mon, Sep 07, 2020 at 09:05:02PM +0800, qianjun.ker...@gmail.com wrote: > From: jun qian > > It is hard to understand what the meaning of the value from > the return value of wakeup_preempt_entity, so I fix it. > @@ -6822,9 +6828,9 @@ static unsigned long wakeup_gran(struct sched_entity >

[PATCH 1/1] kernel/sched:use the enum code replace of the int variable

2020-09-07 Thread qianjun . kernel
From: jun qian It is hard to understand what the meaning of the value from the return value of wakeup_preempt_entity, so I fix it. Signed-off-by: jun qian --- kernel/sched/fair.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git