diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-04-29 17:05:15 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-02-17 14:07:48 +0100 |
commit | a3b89864554bbce1594b7abdb5739fc708c1ca95 (patch) | |
tree | 52159e3930fe4eb3e12228061634137e0e713a73 /lib/scatterlist.c | |
parent | 8ecca39483ed4e4e97096d0d6f8e25fdd323b189 (diff) |
rbtree, perf: Use new rbtree helpers
Reduce rbtree boiler plate by using the new helpers.
One noteworthy change is unification of the various (partial) compare
functions. We construct a subtree match by forcing the sub-order to
always match, see __group_cmp().
Due to 'const' we had to touch cgroup_id().
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Diffstat (limited to 'lib/scatterlist.c')
0 files changed, 0 insertions, 0 deletions