Searched refs:PF_NO_SETAFFINITY (Results 1 – 10 of 10) sorted by relevance
429 if (!(current->flags & PF_NO_SETAFFINITY) && !self->preferred_affinity) in kthread()577 p->flags |= PF_NO_SETAFFINITY; in __kthread_bind_mask()642 WARN_ON_ONCE(!(k->flags & PF_NO_SETAFFINITY)); in kthread_set_per_cpu()895 if (WARN_ON_ONCE((k->task->flags & PF_NO_SETAFFINITY) || in kthreads_update_affinity()
262 current->flags |= PF_NO_SETAFFINITY; in migrate_to_reboot_cpu()
2147 p->flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER | PF_IDLE | PF_NO_SETAFFINITY); in copy_process()
419 WARN_ON_ONCE(!(current->flags & PF_NO_SETAFFINITY)); in play_idle_precise()
1207 if (p->flags & PF_NO_SETAFFINITY) in sched_setaffinity()
3107 if ((ctx->flags & SCA_CHECK) && (p->flags & PF_NO_SETAFFINITY)) { in __set_cpus_allowed_ptr_locked()8225 idle->flags |= PF_KTHREAD | PF_NO_SETAFFINITY; in init_idle()8293 if (p->flags & PF_NO_SETAFFINITY) in task_can_attach()8837 current->flags &= ~PF_NO_SETAFFINITY; in sched_init_smp()
1784 #define PF_NO_SETAFFINITY 0x04000000 /* Userland is not allowed to meddle with cpus_mask */ macro1822 return (current->flags & PF_NO_SETAFFINITY) && in is_percpu_thread()
1707 current->flags &= ~(PF_NO_SETAFFINITY); in osnoise_main()1910 current->flags &= ~(PF_NO_SETAFFINITY); in timerlat_main()
1072 if (task->flags & (PF_KTHREAD | PF_NO_SETAFFINITY)) in cpuset_update_tasks_cpumask()
3041 if (tsk->no_cgroup_migration || (tsk->flags & PF_NO_SETAFFINITY)) { in cgroup_procs_write_start()