Skip to content
Commit 5f69a657 authored by Chen Wandun's avatar Chen Wandun Committed by Tejun Heo
Browse files

psi: dont alloc memory for psi by default



Memory about struct psi_group is allocated by default for
each cgroup even if psi_disabled is true, in this case, these
allocated memory is waste, so alloc memory for struct psi_group
only when psi_disabled is false.

Signed-off-by: default avatarChen Wandun <chenwandun@huawei.com>
Acked-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent e71e60cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment