Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a8de757 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched/walt: Remove fixup_walt_sched_stats sched_class method"

parents 303f69ea 260fab38
Loading
Loading
Loading
Loading
+25 −16
Original line number Diff line number Diff line
@@ -998,11 +998,11 @@ TRACE_EVENT(sched_task_util,
	TP_PROTO(struct task_struct *p, unsigned long candidates,
		int best_energy_cpu, bool sync, int need_idle, int fastpath,
		bool placement_boost, u64 start_t,
		bool stune_boosted, bool is_rtg, bool rtg_skip_min,
		bool uclamp_boosted, bool is_rtg, bool rtg_skip_min,
		int start_cpu),

	TP_ARGS(p, candidates, best_energy_cpu, sync, need_idle, fastpath,
		placement_boost, start_t, stune_boosted, is_rtg, rtg_skip_min,
		placement_boost, start_t, uclamp_boosted, is_rtg, rtg_skip_min,
		start_cpu),

	TP_STRUCT__entry(
@@ -1018,7 +1018,7 @@ TRACE_EVENT(sched_task_util,
		__field(int,            placement_boost)
		__field(int,            rtg_cpu)
		__field(u64,            latency)
		__field(bool,           stune_boosted)
		__field(bool,           uclamp_boosted)
		__field(bool,           is_rtg)
		__field(bool,           rtg_skip_min)
		__field(int,            start_cpu)
@@ -1039,7 +1039,7 @@ TRACE_EVENT(sched_task_util,
		__entry->fastpath               = fastpath;
		__entry->placement_boost        = placement_boost;
		__entry->latency                = (sched_clock() - start_t);
		__entry->stune_boosted          = stune_boosted;
		__entry->uclamp_boosted         = uclamp_boosted;
		__entry->is_rtg                 = is_rtg;
		__entry->rtg_skip_min           = rtg_skip_min;
		__entry->start_cpu              = start_cpu;
@@ -1061,7 +1061,7 @@ TRACE_EVENT(sched_task_util,
		__entry->pid, __entry->comm, __entry->util, __entry->prev_cpu,
		__entry->candidates, __entry->best_energy_cpu, __entry->sync,
		__entry->need_idle, __entry->fastpath, __entry->placement_boost,
		__entry->latency, __entry->stune_boosted,
		__entry->latency, __entry->uclamp_boosted,
		__entry->is_rtg, __entry->rtg_skip_min, __entry->start_cpu,
		__entry->unfilter, __entry->cpus_allowed, __entry->task_boost)
)
@@ -1073,12 +1073,13 @@ TRACE_EVENT(sched_find_best_target,

	TP_PROTO(struct task_struct *tsk,
		 unsigned long min_util, int start_cpu,
		 int best_idle, int best_active, int most_spare_cap,
		 int target, int backup),
		 int best_idle, int most_spare_cap, int target,
		 int order_index, int end_index,
		 int skip, bool running),

	TP_ARGS(tsk, min_util, start_cpu,
		best_idle, best_active, most_spare_cap,
		target, backup),
		best_idle, most_spare_cap, target,
		order_index, end_index, skip, running),

	TP_STRUCT__entry(
		__array(char,		comm, TASK_COMM_LEN)
@@ -1086,10 +1087,12 @@ TRACE_EVENT(sched_find_best_target,
		__field(unsigned long,	min_util)
		__field(int,		start_cpu)
		__field(int,		best_idle)
		__field(int,		best_active)
		__field(int,		most_spare_cap)
		__field(int,		target)
		__field(int,		backup)
		__field(int,		order_index)
		__field(int,		end_index)
		__field(int,		skip)
		__field(bool,		running)
		),

	TP_fast_assign(
@@ -1098,18 +1101,24 @@ TRACE_EVENT(sched_find_best_target,
		__entry->min_util       = min_util;
		__entry->start_cpu      = start_cpu;
		__entry->best_idle      = best_idle;
		__entry->best_active    = best_active;
		__entry->most_spare_cap = most_spare_cap;
		__entry->target         = target;
		__entry->backup         = backup;
		__entry->order_index    = order_index;
		__entry->end_index      = end_index;
		__entry->skip           = skip;
		__entry->running        = running;
		),

	TP_printk("pid=%d comm=%s start_cpu=%d best_idle=%d best_active=%d most_spare_cap=%d target=%d backup=%d",
	TP_printk("pid=%d comm=%s start_cpu=%d best_idle=%d most_spare_cap=%d target=%d order_index=%d end_index=%d skip=%d running=%d",
		  __entry->pid, __entry->comm,
		  __entry->start_cpu,
		  __entry->best_idle, __entry->best_active,
		  __entry->best_idle,
		  __entry->most_spare_cap,
		  __entry->target, __entry->backup)
		  __entry->target,
		  __entry->order_index,
		  __entry->end_index,
		  __entry->skip,
		  __entry->running)
);
#endif /* CONFIG_SMP */

+1 −1
Original line number Diff line number Diff line
@@ -924,7 +924,7 @@ config FAIR_GROUP_SCHED

config CFS_BANDWIDTH
	bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
	depends on FAIR_GROUP_SCHED
	depends on FAIR_GROUP_SCHED && !SCHED_WALT
	default n
	help
	  This option allows users to define CPU bandwidth rates (limits) for
+0 −3
Original line number Diff line number Diff line
@@ -2469,9 +2469,6 @@ const struct sched_class dl_sched_class = {
	.switched_to		= switched_to_dl,

	.update_curr		= update_curr_dl,
#ifdef CONFIG_SCHED_WALT
	.fixup_walt_sched_stats	= fixup_walt_sched_stats_common,
#endif
};

int sched_dl_global_validate(void)
+326 −419

File changed.

Preview size limit exceeded, changes collapsed.

+0 −5
Original line number Diff line number Diff line
@@ -90,11 +90,6 @@ SCHED_FEAT(WA_BIAS, true)
 */
SCHED_FEAT(UTIL_EST, true)

/*
 * Fast pre-selection of CPU candidates for EAS.
 */
SCHED_FEAT(FIND_BEST_TARGET, true)

/*
 * Request max frequency from schedutil whenever a RT task is running.
 */
Loading