diff options
| author | Tejun Heo <tj@kernel.org> | 2026-05-04 14:51:17 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-05-15 07:24:12 -1000 |
| commit | 3360a5c16d87933fb74b530f5e016eb3dfffee5d (patch) | |
| tree | 628022761d3abed0c63b7d4da0b64c7e2c5bde3e /include/linux/workqueue.h | |
| parent | 4376352f2c651ed5308a46caf21d2ccb53c240eb (diff) | |
cgroup: Inline cgroup_has_tasks() in cgroup.h
cpuset reads cs->css.cgroup->nr_populated_csets directly in two places to
test whether a cgroup has tasks. cgroup.c already has a matching helper,
cgroup_has_tasks(). Move it to cgroup.h as static inline and use that
instead. This is to prepare for relocation of cgroup->nr_populated_csets. No
semantic change.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
