summaryrefslogtreecommitdiff
path: root/kernel/events/core.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-04-29 17:04:41 +0200
committerIngo Molnar <mingo@kernel.org>2021-02-17 14:07:44 +0100
commit8ecca39483ed4e4e97096d0d6f8e25fdd323b189 (patch)
treea1924333a7fd19f7afa41b34d9ba96d08ee96299 /kernel/events/core.c
parentbf9be9a163b464aa90f60af13b336da2db8b2ea1 (diff)
downloadlwn-8ecca39483ed4e4e97096d0d6f8e25fdd323b189.tar.gz
lwn-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) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Davidlohr Bueso <dbueso@suse.de>
Diffstat (limited to 'kernel/events/core.c')
0 files changed, 0 insertions, 0 deletions