linux/arch/x86/kernel/cpu/resctrl
James Morse d4ebfca26d x86/resctrl: Fix kfree() of the wrong type in domain_add_cpu()
Commit in Fixes separated the architecture specific and filesystem parts
of the resctrl domain structures.

This left the error paths in domain_add_cpu() kfree()ing the memory with
the wrong type.

This will cause a problem if someone adds a new member to struct
rdt_hw_domain meaning d_resctrl is no longer the first member.

Fixes: 792e0f6f78 ("x86/resctrl: Split struct rdt_domain")
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://lkml.kernel.org/r/20210917165924.28254-1-james.morse@arm.com
2021-10-06 18:45:27 +02:00
..
core.c x86/resctrl: Fix kfree() of the wrong type in domain_add_cpu() 2021-10-06 18:45:27 +02:00
ctrlmondata.c x86/resctrl: Make resctrl_arch_get_config() return its value 2021-08-11 18:42:53 +02:00
internal.h x86/resctrl: Merge the CDP resources 2021-08-11 18:39:42 +02:00
Makefile x86/resctrl: Avoid confusion over the new X86_RESCTRL config 2019-02-02 10:34:52 +01:00
monitor.c - A first round of changes towards splitting the arch-specific bits from 2021-08-30 13:31:36 -07:00
pseudo_lock_event.h
pseudo_lock.c x86/resctrl: Add a helper to read/set the CDP configuration 2021-08-11 15:54:26 +02:00
rdtgroup.c x86/resctrl: Make resctrl_arch_get_config() return its value 2021-08-11 18:42:53 +02:00