RE: [PATCH] fs/resctrl: Fix deadlock for errors during mount
From: Luck, Tony
Date: Mon May 04 2026 - 13:53:06 EST
> I find the reasoning about safe access to resctrl_mount_in_progress to be very
> complicated. It is not clear to me that it is required when considering existing
> kernfs_fs_context::new_sb_created.
Reinette,
Indeed. Looks like cgroup uses this technique:
https://elixir.bootlin.com/linux/v7.0.1/source/kernel/cgroup/cgroup.c#L2297
I'll dig into this.
-Tony