kernel: stune_assist: clarify logger a bit

We are not actually setting WALT specific values, no need in printing them.

Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
fourteen
Yaroslav Furman 5 years ago committed by Jenna
parent 432f8ff465
commit d66a682167
  1. 11
      kernel/sched/tune.c

@ -764,15 +764,16 @@ static void write_default_values(struct cgroup_subsys_state *css)
struct st_data tgt = st_targets[i];
if (!strcmp(css->cgroup->kn->name, tgt.name)) {
pr_info("stune_assist: setting values for %s: boost=%d prefer_idle=%d colocate=%d no_override=%d\n",
tgt.name, tgt.boost, tgt.prefer_idle,
tgt.colocate, tgt.no_override);
boost_write(css, NULL, tgt.boost);
prefer_idle_write(css, NULL, tgt.prefer_idle);
#ifdef CONFIG_SCHED_WALT
#ifndef CONFIG_SCHED_WALT
pr_info("stune_assist: setting values for %s: boost=%d prefer_idle=%d\n",
tgt.name, tgt.boost, tgt.prefer_idle);
#else
sched_colocate_write(css, NULL, tgt.colocate);
sched_boost_override_write(css, NULL, tgt.no_override);
pr_info("stune_assist: setting values for %s: boost=%d prefer_idle=%d colocate=%d no_override=%d\n",
tgt.name, tgt.boost, tgt.prefer_idle, tgt.colocate, tgt.no_override);
#endif
}
}

Loading…
Cancel
Save