diff options
| author | Peter Zijlstra <[email protected]> | 2019-01-30 13:41:04 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-02-04 08:13:21 +0000 |
| commit | 5d299eabea5a251fbf66e8277704b874bbba92dc (patch) | |
| tree | dde557b31905049b265f4912deb0784ad691680b /drivers/fpga/zynqmp-fpga.c | |
| parent | sched/core: Use READ_ONCE()/WRITE_ONCE() in move_queued_task()/task_rq_lock() (diff) | |
| download | kernel-5d299eabea5a251fbf66e8277704b874bbba92dc.tar.gz kernel-5d299eabea5a251fbf66e8277704b874bbba92dc.zip | |
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 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions
