mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
rcu: Make the grace period workers unbound again
After a dedicated grace-period workqueue was added to RCU in order to benefit from rescuer threads, the relevant workers were moved to the new workqueue away from system_power_efficient_wq. The old workqueue was unbound, which is desirable for performance reasons. Making the workers bound measurably regressed performance, so make them unbound again. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com> Signed-off-by: Zlatan Radovanovic <zlatan.radovanovic@fet.ba> Signed-off-by: azrim <mirzaspc@gmail.com>
This commit is contained in:
parent
f1786dc207
commit
ed90e6b932
@ -3577,7 +3577,7 @@ void __init rcu_init(void)
|
||||
}
|
||||
|
||||
/* Create workqueue for expedited GPs and for Tree SRCU. */
|
||||
rcu_gp_wq = alloc_workqueue("rcu_gp", WQ_MEM_RECLAIM, 0);
|
||||
rcu_gp_wq = alloc_workqueue("rcu_gp", WQ_MEM_RECLAIM | WQ_UNBOUND, 0);
|
||||
WARN_ON(!rcu_gp_wq);
|
||||
rcu_par_gp_wq = alloc_workqueue("rcu_par_gp", WQ_MEM_RECLAIM, 0);
|
||||
WARN_ON(!rcu_par_gp_wq);
|
||||
|
Loading…
x
Reference in New Issue
Block a user