Messages in this thread | | | Date | Tue, 3 Oct 2023 14:19:21 -0700 | Subject | Re: [PATCH v6 17/24] x86/resctrl: Move alloc/mon static keys into helpers | From | Reinette Chatre <> |
| |
Hi James,
On 9/14/2023 10:21 AM, James Morse wrote: > resctrl enables three static keys depending on the features it has enabled. > Another architecture's context switch code may look different, any > static keys that control it should be buried behind helpers. > > Move the alloc/mon logic into arch-specific helpers as a preparatory step > for making the rdt_enable_key's status something the arch code decides. > > This means other architectures don't have to mirror the static keys. > > Reviewed-by: Shaopeng Tan <tan.shaopeng@fujitsu.com> > Tested-by: Shaopeng Tan <tan.shaopeng@fujitsu.com> > Tested-By: Peter Newman <peternewman@google.com> > Signed-off-by: James Morse <james.morse@arm.com> > ---
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Reinette
| |