|
@@ -1967,14 +1967,6 @@ static void remove_tasks_in_empty_cpuset(struct cpuset *cs)
|
|
{
|
|
{
|
|
struct cpuset *parent;
|
|
struct cpuset *parent;
|
|
|
|
|
|
- /*
|
|
|
|
- * The cgroup's css_sets list is in use if there are tasks
|
|
|
|
- * in the cpuset; the list is empty if there are none;
|
|
|
|
- * the cs->css.refcnt seems always 0.
|
|
|
|
- */
|
|
|
|
- if (list_empty(&cs->css.cgroup->css_sets))
|
|
|
|
- return;
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* Find its next-highest non-empty parent, (top cpuset
|
|
* Find its next-highest non-empty parent, (top cpuset
|
|
* has online cpus, so can't be empty).
|
|
* has online cpus, so can't be empty).
|