RE: [PATCH v4 4/7] fs,x86/resctrl: Add architecture hooks for every mount/unmount
From: Luck, Tony
Date: Wed Apr 22 2026 - 18:01:19 EST
> > Seems OK. But to make sure that events are accessible, architecture will
> > now have to "hold" the pmt_telemetry module regardless of whether
> > resctrl file system is mounted.
>
> Could you please elaborate why this is required? if I understand correctly the
> "hold" on the pmt_telemetry module will be done by itself between the
> intel_pmt_get_regions_by_feature() and intel_pmt_put_feature_group() calls.
If architecture code runs completely asynchronously to resctrl mount/unmount
when would it be safe to call intel_pmt_put_feature_group()?
-Tony