diff options
author | Yi Tao <escape@linux.alibaba.com> | 2025-09-10 14:59:33 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-09-10 07:26:15 -1000 |
commit | a1ffc8ad3165fa1cf6a60c6a4b4e00dfd6603cf2 (patch) | |
tree | 5b595ec5e5c0a1a30aae26e0847c1e42af657634 /rust/helpers/bug.c | |
parent | 4a3e62dfa7b79dc8f759219fe64318ff08e98013 (diff) |
cgroup: refactor the cgroup_attach_lock code to make it clearer
Dynamic cgroup migration involving threadgroup locks can be in one of
two states: no lock held, or holding the global lock. Explicitly
declaring the different lock modes to make the code easier to
understand and facilitates future extensions of the lock modes.
Signed-off-by: Yi Tao <escape@linux.alibaba.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'rust/helpers/bug.c')
0 files changed, 0 insertions, 0 deletions