aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
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 /include/linux/cgroup.h
parentrbtree, sched/fair: Use rb_add_cached() (diff)
downloadlinux-dev-8ecca39483ed4e4e97096d0d6f8e25fdd323b189.tar.xz
linux-dev-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 'include/linux/cgroup.h')
0 files changed, 0 insertions, 0 deletions