Searched refs:PF_NO_SETAFFINITY (Results 1 – 11 of 11) sorted by relevance
372 WARN_ON_ONCE(!(current->flags & PF_NO_SETAFFINITY)); in play_idle_precise()
2787 if ((flags & SCA_CHECK) && (p->flags & PF_NO_SETAFFINITY)) { in __set_cpus_allowed_ptr_locked()7992 if (p->flags & PF_NO_SETAFFINITY) { in sched_setaffinity()8637 idle->flags |= PF_IDLE | PF_KTHREAD | PF_NO_SETAFFINITY; in init_idle()8718 if (p->flags & PF_NO_SETAFFINITY) { in task_can_attach()9239 current->flags &= ~PF_NO_SETAFFINITY; in sched_init_smp()
472 p->flags |= PF_NO_SETAFFINITY; in __kthread_bind_mask()533 WARN_ON_ONCE(!(k->flags & PF_NO_SETAFFINITY)); in kthread_set_per_cpu()
231 current->flags |= PF_NO_SETAFFINITY; in migrate_to_reboot_cpu()
2080 p->flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER | PF_IDLE | PF_NO_SETAFFINITY); in copy_process()
1689 #define PF_NO_SETAFFINITY 0x04000000 /* Userland is not allowed to meddle with cpus_mask */ macro1726 return (current->flags & PF_NO_SETAFFINITY) && in is_percpu_thread()
707 tsk->flags |= PF_NO_SETAFFINITY; in rest_init()
646 tsk->flags |= PF_NO_SETAFFINITY; in io_init_new_worker()
1313 PF_NOFREEZE | PF_NO_SETAFFINITY); in begin_new_exec()
7411 current->flags |= PF_NO_SETAFFINITY; in io_sq_thread()
2837 if (tsk->no_cgroup_migration || (tsk->flags & PF_NO_SETAFFINITY)) { in cgroup_procs_write_start()