diff options
| author | 2025-09-17 06:04:44 +0000 | |
|---|---|---|
| committer | 2025-09-17 08:35:17 -1000 | |
| commit | b783a6265589783e297f8dc4647a31d870d8396e (patch) | |
| tree | fb4d1689e7fe3fed31877d6dcd0df4d986984d54 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | cgroup/cpuset: Remove redundant rcu_read_lock/unlock() in spin_lock (diff) | |
| download | wireguard-linux-b783a6265589783e297f8dc4647a31d870d8396e.tar.xz wireguard-linux-b783a6265589783e297f8dc4647a31d870d8396e.zip | |
cpuset: move the root cpuset write check earlier
The 'cpus' or 'mems' lists of the top_cpuset cannot be modified.
This check can be moved before acquiring any locks as a common code
block to improve efficiency and maintainability.
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
