cpu_input_boost: Mark boost kthread as performance critical

The boost kthread is performance critical for obvious reasons.

Change-Id: Ic81655fb950a3e14e98159ce42df96a26e61ad0b
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
Sultan Alsawaf 2019-04-22 11:14:33 -07:00 committed by Richard Raya
parent 062829719d
commit 7def2a02db

View File

@ -346,7 +346,7 @@ static int __init cpu_input_boost_init(void)
goto unregister_handler;
}
thread = kthread_run(cpu_boost_thread, b, "cpu_boostd");
thread = kthread_run_perf_critical(cpu_perf_mask, cpu_boost_thread, b, "cpu_boostd");
if (IS_ERR(thread)) {
ret = PTR_ERR(thread);
pr_err("Failed to start CPU boost thread, err: %d\n", ret);