Re: [PATCH v3 5/6] fs/resctrl: Do not invoke smp_processor_id() in preemptible context

From: Thomas Gleixner

Date: Mon Jun 08 2026 - 04:47:17 EST


On Sat, Jun 06 2026 at 10:38, Chen Yu wrote:
> From: Tony Luck <tony.luck@xxxxxxxxx>
>
> __l3_mon_event_count() and __l3_mon_event_count_sum() call
> smp_processor_id() to obtain the current CPU. However, some
> monitor events can be read from any CPU in task context via
> mon_event_count(); in that case the calling context is
> preemptible and smp_processor_id() triggers a debug warning.

Is this new with this MMIO stuff or is this an existing issue? If the
latter then this patch should be in front of the series and get a fixes
tag. If not the change log should explain it.