RE: [PATCH v2 3/6] fs/resctrl: Make 'event_filter' files read only if they're not configurable
From: Luck, Tony
Date: Mon Mar 16 2026 - 12:30:17 EST
> > Instead of making the file writable, and then fixing the mode. Maybe
> > patch the mode in res_common_files[] before calling rdtgroup_add_files():
>
>
> I initially rejected this idea because res_common_files[] is global and the
> read/write choice is per event type but we can safely save restore the mode as
> we're holding the rdtgroup mutex. How about this?
That seems more complicated. Is there an expectation that event_filter
needs to be writable on the "total" event but not on the "local" one?
-Tony