Skip to content

Commit 52d141d

Browse files
RealJohnGaltvbajs
authored andcommitted
treewide: drop all force affined kthreads
Signed-off-by: Yahya Wessam <yahyawessam2002@gmail.com>
1 parent 49ab54b commit 52d141d

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

drivers/cpufreq/cpu_input_boost.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,7 @@ static int __init cpu_input_boost_init(void)
378378
goto unregister_handler;
379379
}
380380

381-
thread = kthread_run_perf_critical(cpu_perf_mask,
382-
cpu_boost_thread,
383-
b, "cpu_boostd");
381+
thread = kthread_run(cpu_boost_thread, b, "cpu_boostd");
384382
if (IS_ERR(thread)) {
385383
ret = PTR_ERR(thread);
386384
pr_err("Failed to start CPU boost thread, err: %d\n", ret);

drivers/devfreq/devfreq_boost.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,7 @@ static int __init devfreq_boost_init(void)
305305
for (i = 0; i < DEVFREQ_MAX; i++) {
306306
struct boost_dev *b = &d->devices[i];
307307

308-
thread[i] = kthread_run_perf_critical(cpu_perf_mask,
309-
devfreq_boost_thread, b,
308+
thread[i] = kthread_run(devfreq_boost_thread, b,
310309
"devfreq_boostd/%d", i);
311310
if (IS_ERR(thread[i])) {
312311
ret = PTR_ERR(thread[i]);

drivers/gpu/drm/msm/msm_drv.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,7 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv)
804804
kthread_init_worker(&priv->disp_thread[i].worker);
805805
priv->disp_thread[i].dev = ddev;
806806
priv->disp_thread[i].thread =
807-
kthread_run_perf_critical(cpu_perf_mask,
808-
kthread_worker_fn,
807+
kthread_run(kthread_worker_fn,
809808
&priv->disp_thread[i].worker,
810809
"crtc_commit:%d", priv->disp_thread[i].crtc_id);
811810
ret = sched_setscheduler(priv->disp_thread[i].thread,
@@ -824,8 +823,7 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv)
824823
kthread_init_worker(&priv->event_thread[i].worker);
825824
priv->event_thread[i].dev = ddev;
826825
priv->event_thread[i].thread =
827-
kthread_run_perf_critical(cpu_perf_mask,
828-
kthread_worker_fn,
826+
kthread_run(kthread_worker_fn,
829827
&priv->event_thread[i].worker,
830828
"crtc_event:%d", priv->event_thread[i].crtc_id);
831829
/**
@@ -872,8 +870,7 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv)
872870
* other important events.
873871
*/
874872
kthread_init_worker(&priv->pp_event_worker);
875-
priv->pp_event_thread = kthread_run_perf_critical(cpu_perf_mask,
876-
kthread_worker_fn, &priv->pp_event_worker, "pp_event");
873+
priv->pp_event_thread = kthread_run(kthread_worker_fn, &priv->pp_event_worker, "pp_event");
877874

878875
ret = sched_setscheduler(priv->pp_event_thread,
879876
SCHED_FIFO, &param);

0 commit comments

Comments
 (0)