Re: [PATCH V2 1/1] sched/fair:Reduce unnecessary check preempt in the sched tick

2021-04-14 Thread Peter Zijlstra
On Wed, Apr 14, 2021 at 10:22:29AM +0800, qianjun.ker...@gmail.com wrote: > From: jun qian > > As you are already set the TIF_NEED_RESCHED, there is no need > to check resched again. Still no justification; does this actually help anything? > Signed-off-by: jun qian > --- > kernel/sched/fair.

[PATCH V2 1/1] sched/fair:Reduce unnecessary check preempt in the sched tick

2021-04-13 Thread qianjun . kernel
From: jun qian As you are already set the TIF_NEED_RESCHED, there is no need to check resched again. Signed-off-by: jun qian --- kernel/sched/fair.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 794c2cb945f8..1a6