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.4/kernel/cgroup.c

    r30871 r31885  
    27532753
    27542754        /*
    2755          * Workqueue threads may acquire PF_NO_SETAFFINITY and become
    2756          * trapped in a cpuset, or RT worker may be born in a cgroup
    2757          * with no rt_runtime allocated.  Just say no.
    2758          */
    2759         if (tsk == kthreadd_task || (tsk->flags & PF_NO_SETAFFINITY)) {
     2755         * kthreads may acquire PF_NO_SETAFFINITY during initialization.
     2756         * If userland migrates such a kthread to a non-root cgroup, it can
     2757         * become trapped in a cpuset, or RT kthread may be born in a
     2758         * cgroup with no rt_runtime allocated.  Just say no.
     2759         */
     2760        if (tsk->no_cgroup_migration || (tsk->flags & PF_NO_SETAFFINITY)) {
    27602761                ret = -EINVAL;
    27612762                goto out_unlock_rcu;
Note: See TracChangeset for help on using the changeset viewer.