diff options
author | James Morse <[email protected]> | 2024-02-13 18:44:16 +0000 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-02-16 19:18:31 +0100 |
commit | 3f7b07380d58cfbb6a2d3aa672dcc76c0f4b0745 (patch) | |
tree | 47fe4c3fdbace520d4c617b31e6debfeeb87df06 /net/lapb/lapb_iface.c | |
parent | 31a5c0b7c674977889ce721d69101bc35f25e041 (diff) |
x86/resctrl: Free rmid_ptrs from resctrl_exit()
rmid_ptrs[] is allocated from dom_data_init() but never free()d.
While the exit text ends up in the linker script's DISCARD section,
the direction of travel is for resctrl to be/have loadable modules.
Add resctrl_put_mon_l3_config() to cleanup any memory allocated
by rdt_get_mon_l3_config().
There is no reason to backport this to a stable kernel.
Signed-off-by: James Morse <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Babu Moger <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Tested-by: Babu Moger <[email protected]>
Tested-by: Carl Worth <[email protected]> # arm64
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions