Searched refs:PF_NO_SETAFFINITY (Results 1 – 12 of 12) sorted by relevance
369 WARN_ON_ONCE(!(current->flags & PF_NO_SETAFFINITY)); in play_idle_precise()
2874 if ((flags & SCA_CHECK) && (p->flags & PF_NO_SETAFFINITY)) { in __set_cpus_allowed_ptr_locked()8167 if (p->flags & PF_NO_SETAFFINITY) { in sched_setaffinity()8981 idle->flags |= PF_IDLE | PF_KTHREAD | PF_NO_SETAFFINITY; in init_idle()9059 if (p->flags & PF_NO_SETAFFINITY) { in task_can_attach()9589 current->flags &= ~PF_NO_SETAFFINITY; in sched_init_smp()
236 current->flags |= PF_NO_SETAFFINITY; in io_sq_thread()
707 tsk->flags |= PF_NO_SETAFFINITY; in io_init_new_worker()
531 p->flags |= PF_NO_SETAFFINITY; in __kthread_bind_mask()593 WARN_ON_ONCE(!(k->flags & PF_NO_SETAFFINITY)); in kthread_set_per_cpu()
240 current->flags |= PF_NO_SETAFFINITY; in migrate_to_reboot_cpu()
2135 p->flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER | PF_IDLE | PF_NO_SETAFFINITY); in copy_process()
1745 #define PF_NO_SETAFFINITY 0x04000000 /* Userland is not allowed to meddle with cpus_mask */ macro1783 return (current->flags & PF_NO_SETAFFINITY) && in is_percpu_thread()
422 current->flags |= PF_NO_SETAFFINITY; in rcu_scale_writer()
702 tsk->flags |= PF_NO_SETAFFINITY; in rest_init()
1316 PF_NOFREEZE | PF_NO_SETAFFINITY); in begin_new_exec()
2957 if (tsk->no_cgroup_migration || (tsk->flags & PF_NO_SETAFFINITY)) { in cgroup_procs_write_start()