Messages in this thread | | | Date | Thu, 14 Dec 2023 11:39:06 +0000 | Subject | Re: [PATCH v7 22/24] x86/resctrl: Add CPU offline callback for resctrl work | From | James Morse <> |
| |
Hi Babu,
On 09/11/2023 20:52, Moger, Babu wrote: > On 10/25/23 13:03, James Morse wrote: >> The resctrl architecture specific code may need to free a domain when >> a CPU goes offline, it also needs to reset the CPUs PQR_ASSOC register. >> Amongst other things, the resctrl filesystem code needs to clear this >> CPU from the cpu_mask of any control and monitor groups. >> >> Currently this is all done in core.c and called from >> resctrl_offline_cpu(), making the split between architecture and >> filesystem code unclear. >> >> Move the filesystem work to remove the CPU from the control and monitor >> groups into a filesystem helper called resctrl_offline_cpu(), and rename >> the one in core.c resctrl_arch_offline_cpu().
> Reviewed-by: Babu Moger <babu.moger@amd.com>
Thanks!
James
| |