diff options
Diffstat (limited to 'kernel/cgroup.c')
| -rw-r--r-- | kernel/cgroup.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index a32f9432666..3852d926322 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -2224,11 +2224,11 @@ retry_find_task:  		tsk = tsk->group_leader;  	/* -	 * Workqueue threads may acquire PF_THREAD_BOUND and become +	 * Workqueue threads may acquire PF_NO_SETAFFINITY and become  	 * trapped in a cpuset, or RT worker may be born in a cgroup  	 * with no rt_runtime allocated.  Just say no.  	 */ -	if (tsk == kthreadd_task || (tsk->flags & PF_THREAD_BOUND)) { +	if (tsk == kthreadd_task || (tsk->flags & PF_NO_SETAFFINITY)) {  		ret = -EINVAL;  		rcu_read_unlock();  		goto out_unlock_cgroup;  |