commit | 8ecca39483ed4e4e97096d0d6f8e25fdd323b189 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Wed Apr 29 17:04:41 2020 +0200 |
committer | Ingo Molnar <mingo@kernel.org> | Wed Feb 17 14:07:44 2021 +0100 |
tree | a1924333a7fd19f7afa41b34d9ba96d08ee96299 | |
parent | bf9be9a163b464aa90f60af13b336da2db8b2ea1 [diff] |
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) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Davidlohr Bueso <dbueso@suse.de>