]> Git Repo - linux.git/commit
sched/cpufreq/schedutil: Fix error path mutex unlock
authorJules Maselbas <[email protected]>
Thu, 29 Mar 2018 14:43:01 +0000 (15:43 +0100)
committerIngo Molnar <[email protected]>
Sat, 31 Mar 2018 18:42:38 +0000 (20:42 +0200)
commit1b5d43cfb69759d8ef8d30469cea31d0c037aed5
tree8845496f34fe5c69de448b1dd703d0d9bdc50d34
parentb5dbc28762fd3fd40ba76303be0c7f707826f982
sched/cpufreq/schedutil: Fix error path mutex unlock

This patch prevents the 'global_tunables_lock' mutex from being
unlocked before being locked.  This mutex is not locked if the
sugov_kthread_create() function fails.

Signed-off-by: Jules Maselbas <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Chris Redpath <[email protected]>
Cc: Dietmar Eggermann <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Patrick Bellasi <[email protected]>
Cc: Stephen Kyle <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched/cpufreq_schedutil.c
This page took 0.056657 seconds and 4 git commands to generate.