mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-06 17:35:20 +02:00
Revert "ANDROID: sched: Add vendor hook for update_load_sum"
This reverts commit 5cb12b53e1
.
The hook is not used by any vendor, so remove it to help with merge
issues with future LTS releases.
If this is needed by any real user, it can easily be reverted to add it
back and then the symbol should be added to the abi list at the same
time to prevent it from being removed again later.
Bug: 203756332
Bug: 344826816
Bug: 181105055
Cc: Chungkai Mei <chungkai@google.com>
Cc: Qais Yousef <qyousef@google.com>
Change-Id: Ibeb60f9ff17e94f2a0ebb26b16ccbeae2b4b8c03
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
22f0a58277
commit
c573b85983
|
@ -454,10 +454,6 @@ DECLARE_RESTRICTED_HOOK(android_rvh_update_blocked_fair,
|
|||
TP_PROTO(struct rq *rq),
|
||||
TP_ARGS(rq), 1);
|
||||
|
||||
DECLARE_RESTRICTED_HOOK(android_rvh_update_load_sum,
|
||||
TP_PROTO(struct sched_avg *sa, u64 *delta, unsigned int *sched_pelt_lshift),
|
||||
TP_ARGS(sa, delta, sched_pelt_lshift), 1);
|
||||
|
||||
struct sched_attr;
|
||||
|
||||
DECLARE_HOOK(android_vh_set_sugov_sched_attr,
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
* Author: Vincent Guittot <vincent.guittot@linaro.org>
|
||||
*/
|
||||
|
||||
#include <trace/hooks/sched.h>
|
||||
|
||||
/*
|
||||
* Approximate:
|
||||
* val * y^n, where y^32 ~= 0.5 (~1 scheduling period)
|
||||
|
@ -204,8 +202,6 @@ ___update_load_sum(u64 now, struct sched_avg *sa,
|
|||
|
||||
sa->last_update_time += delta << 10;
|
||||
|
||||
trace_android_rvh_update_load_sum(sa, &delta, &sched_pelt_lshift);
|
||||
|
||||
/*
|
||||
* running is a subset of runnable (weight) so running can't be set if
|
||||
* runnable is clear. But there are some corner cases where the current
|
||||
|
|
|
@ -112,7 +112,6 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_context_switch);
|
|||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mmput);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_attach_entity_load_avg);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_detach_entity_load_avg);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_update_load_sum);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_update_load_avg);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_remove_entity_load_avg);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_update_blocked_fair);
|
||||
|
|
Loading…
Reference in New Issue
Block a user