mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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:
parent
062829719d
commit
7def2a02db
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user