diff options
| author | Chen Wandun <chenwandun@lixiang.com> | 2026-05-11 16:18:38 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-05-10 22:53:30 -1000 |
| commit | be2689c9ed47bde6f15a24c9845f6fc1ec52502f (patch) | |
| tree | 3d273f00b7068ea23b3929180b9acfa34a7ef456 /include/linux/workqueue_api.h | |
| parent | c69e4b02131650c8ae4c467a58987ff7c201889b (diff) | |
cgroup/cpuset: Skip hardwall ancestor scan in cpuset v2 in cpuset_current_node_allowed()
Cgroup v2 doesn't have the concept of memory hardwall, only top_cpuset
has CS_MEM_EXCLUSIVE/CS_MEM_HARDWALL flags, nearest_hardwall_ancestor
always returns top_cpuset with all nodes set, so no need to acquire
callback_lock and scan up cpuset.
Suggested-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Chen Wandun <chenwandun@lixiang.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
