RE: [PATCH v12 14/25] fs/resctrl: Rebuild free RMID list on each mount
From: Luck, Tony
Date: Tue Sep 22 2026 - 19:07:56 EST
> Will something like this work?
>
> list_for_each_entry_safe(entry, tmp, &rmid_free_lru, list)
> list_del(&entry->list);
> INIT_LIST_HEAD(&rmid_free_lru);
It would work .... but definitely going to provoke a "what?"
review comment. If you remove all entries from the list,
the INIT_LIST_HEAD() becomes pointless.
-Tony