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 |
---|---|---|
api | ||
bpf | ||
lockdep | ||
perf | ||
subcmd | ||
symbol | ||
traceevent | ||
argv_split.c | -rw-r--r-- | 1.7 KB |
bitmap.c | -rw-r--r-- | 2.0 KB |
ctype.c | -rw-r--r-- | 1.3 KB |
find_bit.c | -rw-r--r-- | 3.0 KB |
hweight.c | -rw-r--r-- | 1.8 KB |
rbtree.c | -rw-r--r-- | 16.1 KB |
str_error_r.c | -rw-r--r-- | 1.0 KB |
string.c | -rw-r--r-- | 3.4 KB |
vsprintf.c | -rw-r--r-- | 900 bytes |
zalloc.c | -rw-r--r-- | 197 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...