Re: [PATCH v1 5/9] x86/resctrl: Call mon_event_count() directly for soft RMIDs

From: Reinette Chatre
Date: Thu May 11 2023 - 17:38:40 EST

Hi Peter,

On 4/21/2023 7:17 AM, Peter Newman wrote:
> There is no point in using IPIs to call mon_event_count() when it is
> only reading software counters from memory.
> When RMIDs are soft, mon_event_read() just calls mon_event_count()
> directly.

>From this patch forward the patch ordering is a bit confusing.
At this time mon_event_count() does not read software counters
from memory so I think this change should move to later.

Also, note that rdt_mon_soft_rmid is introduced here but
the reader is left wondering how it is set until the final patch
in this series.