Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit 8c9fe1d

Browse files
kerneltoastradcolor
authored andcommitted
devfreq_boost: Mark boost kthreads as performance critical
The boost kthreads are performance critical for obvious reasons. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
1 parent 185aaf1 commit 8c9fe1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/devfreq/devfreq_boost.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ static int __init devfreq_boost_init(void)
295295
for (i = 0; i < DEVFREQ_MAX; i++) {
296296
struct boost_dev *b = d->devices + i;
297297

298-
thread[i] = kthread_run(devfreq_boost_thread, b,
299-
"devfreq_boostd/%d", i);
298+
thread[i] = kthread_run_perf_critical(devfreq_boost_thread, b,
299+
"devfreq_boostd/%d", i);
300300
if (IS_ERR(thread[i])) {
301301
ret = PTR_ERR(thread[i]);
302302
pr_err("Failed to create kthread, err: %d\n", ret);

0 commit comments

Comments
 (0)