diff options
author | Peter Zijlstra <[email protected]> | 2019-01-30 14:41:04 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-02-04 09:13:21 +0100 |
commit | 5d299eabea5a251fbf66e8277704b874bbba92dc (patch) | |
tree | dde557b31905049b265f4912deb0784ad691680b /scripts/gen_compile_commands.py | |
parent | c546951d9c9300065bad253ecdf1ac59ce9d06c8 (diff) |
sched/fair: Add tmp_alone_branch assertion
The magic in list_add_leaf_cfs_rq() requires that at the end of
enqueue_task_fair():
rq->tmp_alone_branch == &rq->lead_cfs_rq_list
If this is violated, list integrity is compromised for list entries
and the tmp_alone_branch pointer might dangle.
Also, reflow list_add_leaf_cfs_rq() while there. This looses one
indentation level and generates a form that's convenient for the next
patch.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions