Revert "ANDROID: sched: Add vendor hook to select ilb cpu"
This reverts commit 178eea2694.
It causes merge issues with 5.18-rc1 so revert it for now. If it is
still needed, it can be forward ported after 5.18-rc1 is merged.
Bug: 190228983
Cc: Choonghoon Park <choong.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Iaa5cff0ebc6db74f09f7d81d153fa66fe3ac7a63
This commit is contained in:
@@ -197,7 +197,6 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_check_mmap_file);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_check_file_open);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_check_bpf_syscall);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_post_init_entity_util_avg);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_find_new_ilb);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_do_wake_up_sync);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_set_wake_flags);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_uclamp_eff_get);
|
||||
|
||||
@@ -325,10 +325,6 @@ DECLARE_RESTRICTED_HOOK(android_rvh_post_init_entity_util_avg,
|
||||
TP_PROTO(struct sched_entity *se),
|
||||
TP_ARGS(se), 1);
|
||||
|
||||
DECLARE_RESTRICTED_HOOK(android_rvh_find_new_ilb,
|
||||
TP_PROTO(struct cpumask *nohz_idle_cpus_mask, int *ilb),
|
||||
TP_ARGS(nohz_idle_cpus_mask, ilb), 1);
|
||||
|
||||
DECLARE_HOOK(android_vh_do_wake_up_sync,
|
||||
TP_PROTO(struct wait_queue_head *wq_head, int *done),
|
||||
TP_ARGS(wq_head, done));
|
||||
|
||||
+1
-5
@@ -10509,13 +10509,9 @@ static inline int on_null_domain(struct rq *rq)
|
||||
|
||||
static inline int find_new_ilb(void)
|
||||
{
|
||||
int ilb = -1;
|
||||
int ilb;
|
||||
const struct cpumask *hk_mask;
|
||||
|
||||
trace_android_rvh_find_new_ilb(nohz.idle_cpus_mask, &ilb);
|
||||
if (ilb >= 0)
|
||||
return ilb;
|
||||
|
||||
hk_mask = housekeeping_cpumask(HK_FLAG_MISC);
|
||||
|
||||
for_each_cpu_and(ilb, nohz.idle_cpus_mask, hk_mask) {
|
||||
|
||||
Reference in New Issue
Block a user