Re: [PATCH v4 10/10] cacheinfo: Move resctrl's get_cache_id() to the cacheinfo header file

2020-05-28 Thread Reinette Chatre
Hi James, On 5/26/2020 6:40 AM, James Morse wrote: > resctrl/core.c defines get_cache_id() for use in its cpu-hotplug > callbacks. This gets the id attribute of the cache at the corresponding > level of a cpu. > > Later rework means this private function needs to be shared. Move > it to the heade

[PATCH v4 10/10] cacheinfo: Move resctrl's get_cache_id() to the cacheinfo header file

2020-05-26 Thread James Morse
resctrl/core.c defines get_cache_id() for use in its cpu-hotplug callbacks. This gets the id attribute of the cache at the corresponding level of a cpu. Later rework means this private function needs to be shared. Move it to the header file. The name conflicts with a different definition in intel