aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorJames Morse <[email protected]>2021-09-17 16:59:58 +0000
committerBorislav Petkov <[email protected]>2021-10-06 16:45:21 +0000
commit64e87d4bd3201bf8a4685083ee4daf5c0d001452 (patch)
tree9e7fd91b089d386d996ae1b3b4a38639e4abdc4c /lib/timerqueue.c
parentx86/hpet: Use another crystalball to evaluate HPET usability (diff)
downloadkernel-64e87d4bd3201bf8a4685083ee4daf5c0d001452.tar.gz
kernel-64e87d4bd3201bf8a4685083ee4daf5c0d001452.zip
x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails
domain_add_cpu() is called whenever a CPU is brought online. The earlier call to domain_setup_ctrlval() allocates the control value arrays. If domain_setup_mon_state() fails, the control value arrays are not freed. Add the missing kfree() calls. Fixes: 1bd2a63b4f0de ("x86/intel_rdt/mba_sc: Add initialization support") Fixes: edf6fa1c4a951 ("x86/intel_rdt/cqm: Add RMID (Resource monitoring ID) management") Signed-off-by: James Morse <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Reinette Chatre <[email protected]> Cc: <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions