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

2021-04-13 Thread jun qian
Peter Zijlstra 于2021年4月13日周二 下午10:24写道: > > On Tue, Apr 13, 2021 at 09:18:42PM +0800, qianjun.ker...@gmail.com wrote: > > From: jun qian > > > > If it has been determined that the current cpu need resched in the > > early stage of for_each_sched_entity, then there is no need to check > > preempt

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

2021-04-13 Thread kernel test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/sched/core] [also build test WARNING on v5.12-rc7 next-20210413] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

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

2021-04-13 Thread Peter Zijlstra
On Tue, Apr 13, 2021 at 09:18:42PM +0800, qianjun.ker...@gmail.com wrote: > From: jun qian > > If it has been determined that the current cpu need resched in the > early stage of for_each_sched_entity, then there is no need to check > preempt in the subsequent se->parent entity_tick. Right, but

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

2021-04-13 Thread qianjun . kernel
From: jun qian If it has been determined that the current cpu need resched in the early stage of for_each_sched_entity, then there is no need to check preempt in the subsequent se->parent entity_tick. Signed-off-by: jun qian --- kernel/sched/fair.c | 5 + 1 file changed, 5 insertions(+)