]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched/core: Fix size of rq::uclamp initialization
authorLi Guanglei <guanglei.li@unisoc.com>
Wed, 25 Dec 2019 07:44:04 +0000 (15:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:36:51 +0000 (08:36 +0100)
commit5d13f62b9ef6b8bb2ba222bf776adbd3fe615454
tree08dec1274fe0534c3840c3f7c561e9c43ed5ea93
parent8da6ae7dcb16a5c869294a673e86ee6f1a554036
sched/core: Fix size of rq::uclamp initialization

[ Upstream commit dcd6dffb0a75741471297724640733fa4e958d72 ]

rq::uclamp is an array of struct uclamp_rq, make sure we clear the
whole thing.

Fixes: 69842cba9ace ("sched/uclamp: Add CPU's clamp buckets refcountinga")
Signed-off-by: Li Guanglei <guanglei.li@unisoc.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Qais Yousef <qais.yousef@arm.com>
Link: https://lkml.kernel.org/r/1577259844-12677-1-git-send-email-guangleix.li@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/sched/core.c