Skip to content
Snippets Groups Projects
Select Git revision
  • 47a6e1c366db9d20490912fd6a6c8bd67346f0ff
  • openEuler-1.0-LTS default protected
  • openEuler-22.09
  • OLK-5.10
  • openEuler-22.03-LTS
  • openEuler-22.03-LTS-Ascend
  • master
  • openEuler-22.03-LTS-LoongArch-NW
  • openEuler-22.09-HCK
  • openEuler-20.03-LTS-SP3
  • openEuler-21.09
  • openEuler-21.03
  • openEuler-20.09
  • 4.19.90-2210.5.0
  • 5.10.0-123.0.0
  • 5.10.0-60.63.0
  • 5.10.0-60.62.0
  • 4.19.90-2210.4.0
  • 5.10.0-121.0.0
  • 5.10.0-60.61.0
  • 4.19.90-2210.3.0
  • 5.10.0-60.60.0
  • 5.10.0-120.0.0
  • 5.10.0-60.59.0
  • 5.10.0-119.0.0
  • 4.19.90-2210.2.0
  • 4.19.90-2210.1.0
  • 5.10.0-118.0.0
  • 5.10.0-106.19.0
  • 5.10.0-60.58.0
  • 4.19.90-2209.6.0
  • 5.10.0-106.18.0
  • 5.10.0-106.17.0
33 results

kernel

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Phil Auld authored and Yongqiang Liu committed
    mainline inclusion
    from mainline-v5.r7-rc6
    commit b34cb07d
    category: bugfix
    bugzilla: 91404, https://gitee.com/openeuler/kernel/issues/I59VLJ
    
    
    CVE: NA
    
    --------------------------------
    
    The recent patch, fe61468b (sched/fair: Fix enqueue_task_fair warning)
    did not fully resolve the issues with the rq->tmp_alone_branch !=
    &rq->leaf_cfs_rq_list warning in enqueue_task_fair. There is a case where
    the first for_each_sched_entity loop exits due to on_rq, having incompletely
    updated the list.  In this case the second for_each_sched_entity loop can
    further modify se. The later code to fix up the list management fails to do
    what is needed because se does not point to the sched_entity which broke out
    of the first loop. The list is not fixed up because the throttled parent was
    already added back to the list by a task enqueue in a parallel child hierarchy.
    
    Address this by calling list_add_leaf_cfs_rq if there are throttled parents
    while doing the second for_each_sched_entity loop.
    
    Fixes: fe61468b ("sched/fair: Fix enqueue_task_fair warning")
    Suggested-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
    Signed-off-by: default avatarPhil Auld <pauld@redhat.com>
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Reviewed-by: default avatarDietmar Eggemann <dietmar.eggemann@arm.com>
    Reviewed-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
    Link: https://lkml.kernel.org/r/20200512135222.GC2201@lorien.usersys.redhat.com
    
    
    Signed-off-by: default avatarHui Tang <tanghui20@huawei.com>
    Reviewed-by: default avatarChen Hui <judy.chenhui@huawei.com>
    Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
    47a6e1c3
    History
    Name Last commit Last update
    ..