Revision 39f23ce07b9355d05a64ae303ce20d1c4b92b957 authored by Vincent Guittot on 13 May 2020, 13:55:28 UTC, committed by Peter Zijlstra on 19 May 2020, 18:34:10 UTC
Although not exactly identical, unthrottle_cfs_rq() and enqueue_task_fair() are quite close and follow the same sequence for enqueuing an entity in the cfs hierarchy. Modify unthrottle_cfs_rq() to use the same pattern as enqueue_task_fair(). This fixes a problem already faced with the latter and add an optimization in the last for_each_sched_entity loop. Fixes: fe61468b2cb (sched/fair: Fix enqueue_task_fair warning) Reported-by Tao Zhou <zohooouoto@zoho.com.cn> Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Phil Auld <pauld@redhat.com> Reviewed-by: Ben Segall <bsegall@google.com> Link: https://lkml.kernel.org/r/20200513135528.4742-1-vincent.guittot@linaro.org
1 parent ad32bb4
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 4.7 KB |
Makefile | -rw-r--r-- | 823 bytes |
alarmtimer.c | -rw-r--r-- | 23.5 KB |
clockevents.c | -rw-r--r-- | 19.6 KB |
clocksource.c | -rw-r--r-- | 33.6 KB |
hrtimer.c | -rw-r--r-- | 60.7 KB |
itimer.c | -rw-r--r-- | 10.3 KB |
jiffies.c | -rw-r--r-- | 3.1 KB |
namespace.c | -rw-r--r-- | 10.6 KB |
ntp.c | -rw-r--r-- | 26.3 KB |
ntp_internal.h | -rw-r--r-- | 605 bytes |
posix-clock.c | -rw-r--r-- | 5.6 KB |
posix-cpu-timers.c | -rw-r--r-- | 37.5 KB |
posix-stubs.c | -rw-r--r-- | 5.5 KB |
posix-timers.c | -rw-r--r-- | 37.1 KB |
posix-timers.h | -rw-r--r-- | 1.9 KB |
sched_clock.c | -rw-r--r-- | 8.2 KB |
test_udelay.c | -rw-r--r-- | 3.7 KB |
tick-broadcast-hrtimer.c | -rw-r--r-- | 3.2 KB |
tick-broadcast.c | -rw-r--r-- | 26.9 KB |
tick-common.c | -rw-r--r-- | 14.6 KB |
tick-internal.h | -rw-r--r-- | 6.8 KB |
tick-oneshot.c | -rw-r--r-- | 3.2 KB |
tick-sched.c | -rw-r--r-- | 35.4 KB |
tick-sched.h | -rw-r--r-- | 3.3 KB |
time.c | -rw-r--r-- | 22.9 KB |
timeconst.bc | -rw-r--r-- | 3.0 KB |
timeconv.c | -rw-r--r-- | 3.6 KB |
timecounter.c | -rw-r--r-- | 2.5 KB |
timekeeping.c | -rw-r--r-- | 67.0 KB |
timekeeping.h | -rw-r--r-- | 926 bytes |
timekeeping_debug.c | -rw-r--r-- | 1.3 KB |
timekeeping_internal.h | -rw-r--r-- | 784 bytes |
timer.c | -rw-r--r-- | 59.9 KB |
timer_list.c | -rw-r--r-- | 8.9 KB |
vsyscall.c | -rw-r--r-- | 3.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...