Searched refs:PF_NO_SETAFFINITY (Results 1 – 13 of 13) sorted by relevance
456 if (!(current->flags & PF_NO_SETAFFINITY) && !self->preferred_affinity) in kthread()606 p->flags |= PF_NO_SETAFFINITY; in __kthread_bind_mask()672 WARN_ON_ONCE(!(k->flags & PF_NO_SETAFFINITY)); in kthread_set_per_cpu()922 if (WARN_ON_ONCE((k->task->flags & PF_NO_SETAFFINITY) || in kthreads_online_cpu()
262 current->flags |= PF_NO_SETAFFINITY; in migrate_to_reboot_cpu()
2068 p->flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER | PF_IDLE | PF_NO_SETAFFINITY); in copy_process()
396 WARN_ON_ONCE(!(current->flags & PF_NO_SETAFFINITY)); in play_idle_precise()
1218 if (p->flags & PF_NO_SETAFFINITY) in sched_setaffinity()
3092 if ((ctx->flags & SCA_CHECK) && (p->flags & PF_NO_SETAFFINITY)) { in __set_cpus_allowed_ptr_locked()7986 idle->flags |= PF_KTHREAD | PF_NO_SETAFFINITY; in init_idle()8054 if (p->flags & PF_NO_SETAFFINITY) in task_can_attach()8606 current->flags &= ~PF_NO_SETAFFINITY; in sched_init_smp()
1759 #define PF_NO_SETAFFINITY 0x04000000 /* Userland is not allowed to meddle with cpus_mask */ macro1797 return (current->flags & PF_NO_SETAFFINITY) && in is_percpu_thread()
1691 current->flags &= ~(PF_NO_SETAFFINITY); in osnoise_main()1874 current->flags &= ~(PF_NO_SETAFFINITY); in timerlat_main()
551 current->flags |= PF_NO_SETAFFINITY; in rcu_scale_writer()
730 tsk->flags |= PF_NO_SETAFFINITY; in rest_init()
1182 PF_NOFREEZE | PF_NO_SETAFFINITY); in begin_new_exec()
1189 if (task->flags & PF_NO_SETAFFINITY) in cpuset_update_tasks_cpumask()
3081 if (tsk->no_cgroup_migration || (tsk->flags & PF_NO_SETAFFINITY)) { in cgroup_procs_write_start()