aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpih-mul.c
diff options
context:
space:
mode:
authorChen Wandun <chenwandun@huawei.com>2022-05-26 20:26:56 +0800
committerTejun Heo <tj@kernel.org>2022-06-07 07:11:47 -1000
commit5f69a6577bc33d8f6d6bbe02bccdeb357b287f56 (patch)
treee411f7730aabe4d2c485f550367c884e1c84a94b /lib/mpi/mpih-mul.c
parente71e60cd74df9386c3f684c54888f2367050b831 (diff)
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: Chen Wandun <chenwandun@huawei.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'lib/mpi/mpih-mul.c')
0 files changed, 0 insertions, 0 deletions