On Sat, May 09, 2026 at 05:36:39PM +0800, Wandun wrote: > > is_in_v2_mode() is also true for v1 mounted with cpuset_v2_mode, where > > cpuset.mem_exclusive / cpuset.mem_hardwall are still settable. Would > > that be a problem here? cpuset_v2() looks like a tighter fit. > You're right, it is a problem. > > Under v1 + cpuset_v2_mode, CS_MEM_HARDWALL/CS_MEM_EXCLUSIVE can be set > on non-root cpuset cgroup, so can't directly return true; Ah, sorry missd that. > I will fix it in v2. Thx.