diff options
| author | Peter Zijlstra <[email protected]> | 2020-04-29 15:04:41 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2021-02-17 13:07:44 +0000 |
| commit | 8ecca39483ed4e4e97096d0d6f8e25fdd323b189 (patch) | |
| tree | a1924333a7fd19f7afa41b34d9ba96d08ee96299 /lib/timerqueue.c | |
| parent | rbtree, sched/fair: Use rb_add_cached() (diff) | |
| download | kernel-8ecca39483ed4e4e97096d0d6f8e25fdd323b189.tar.gz kernel-8ecca39483ed4e4e97096d0d6f8e25fdd323b189.zip | |
rbtree, sched/deadline: Use rb_add_cached()
Reduce rbtree boiler plate by using the new helpers.
Make rb_add_cached() / rb_erase_cached() return a pointer to the
leftmost node to aid in updating additional state.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
