diff options
author | Jules Maselbas <jules.maselbas@arm.com> | 2018-03-29 15:43:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-27 14:13:55 +0900 |
commit | 423f2c97a25392635216d349b85a4c2440de3a45 (patch) | |
tree | ac4d63f38b072c33df391d8f60e40496be0326fc /scripts | |
parent | c492471db905b6c7c673ae5630dd0a27c8cd00b0 (diff) | |
download | linux-stable-423f2c97a25392635216d349b85a4c2440de3a45.tar.gz linux-stable-423f2c97a25392635216d349b85a4c2440de3a45.tar.bz2 linux-stable-423f2c97a25392635216d349b85a4c2440de3a45.zip |
sched/cpufreq/schedutil: Fix error path mutex unlock
commit 1b5d43cfb69759d8ef8d30469cea31d0c037aed5 upstream.
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 <jules.maselbas@arm.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Chris Redpath <chris.redpath@arm.com>
Cc: Dietmar Eggermann <dietmar.eggemann@arm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Patrick Bellasi <patrick.bellasi@arm.com>
Cc: Stephen Kyle <stephen.kyle@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Cc: nd@arm.com
Link: http://lkml.kernel.org/r/20180329144301.38419-1-jules.maselbas@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions