Skip to content

Commit

Permalink
workqueue: change permissions to allow root control of wq_power_effic…
Browse files Browse the repository at this point in the history
…ient toggle

Signed-off-by: engstk <[email protected]>
  • Loading branch information
matthewdalex authored and engstk committed Mar 24, 2023
1 parent af24eae commit ab3028b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ module_param_named(disable_numa, wq_disable_numa, bool, 0444);

/* see the comment above the definition of WQ_POWER_EFFICIENT */
static bool wq_power_efficient = IS_ENABLED(CONFIG_WQ_POWER_EFFICIENT_DEFAULT);
module_param_named(power_efficient, wq_power_efficient, bool, 0444);
module_param_named(power_efficient, wq_power_efficient, bool, 0644);

static bool wq_online; /* can kworkers be created yet? */

Expand Down

0 comments on commit ab3028b

Please sign in to comment.