Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (3 months ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/kernel/cgroup.c

    r31574 r31885  
    29212921
    29222922        /*
    2923          * Workqueue threads may acquire PF_NO_SETAFFINITY and become
    2924          * trapped in a cpuset, or RT worker may be born in a cgroup
    2925          * with no rt_runtime allocated.  Just say no.
    2926          */
    2927         if (tsk == kthreadd_task || (tsk->flags & PF_NO_SETAFFINITY)) {
     2923         * kthreads may acquire PF_NO_SETAFFINITY during initialization.
     2924         * If userland migrates such a kthread to a non-root cgroup, it can
     2925         * become trapped in a cpuset, or RT kthread may be born in a
     2926         * cgroup with no rt_runtime allocated.  Just say no.
     2927         */
     2928        if (tsk->no_cgroup_migration || (tsk->flags & PF_NO_SETAFFINITY)) {
    29282929                ret = -EINVAL;
    29292930                goto out_unlock_rcu;
Note: See TracChangeset for help on using the changeset viewer.