Commit 9f4ddaa6 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Aichun Shi
Browse files

rbtree, sched/fair: Use rb_add_cached()

mainline inclusion
from mainline-v5.12-rc1
commit bf9be9a1
category: feature
feature: SPR PMU uncore support
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I5BECO



Intel-SIG: commit bf9be9a1 rbtree, sched/fair: Use rb_add_cached()
This commit is backported as a dependency for SPR PMU uncore support.

-------------------------------------

Reduce rbtree boiler plate by using the new helper function.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Acked-by: default avatarDavidlohr Bueso <dbueso@suse.de>
Signed-off-by: default avatarYunying Sun <yunying.sun@intel.com>
Signed-off-by: default avatarAichun Shi <aichun.shi@intel.com>
parent d9ab2481
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment