Home
last modified time | relevance | path

Searched refs:PF_NO_SETAFFINITY (Results 1 – 13 of 13) sorted by relevance

/linux/kernel/
H A Dkthread.c429 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()
H A Dreboot.c263 current->flags |= PF_NO_SETAFFINITY; in migrate_to_reboot_cpu()
H A Dfork.c2196 p->flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER | PF_IDLE | PF_NO_SETAFFINITY); in copy_process()
/linux/kernel/sched/
H A Didle.c422 WARN_ON_ONCE(!(current->flags & PF_NO_SETAFFINITY)); in play_idle_precise()
H A Dsyscalls.c1207 if (p->flags & PF_NO_SETAFFINITY) in sched_setaffinity()
H A Dcore.c3157 if ((ctx->flags & SCA_CHECK) && (p->flags & PF_NO_SETAFFINITY)) { in __set_cpus_allowed_ptr_locked()
8335 idle->flags |= PF_KTHREAD | PF_NO_SETAFFINITY; in init_idle()
8403 if (p->flags & PF_NO_SETAFFINITY) in task_can_attach()
8944 current->flags &= ~PF_NO_SETAFFINITY; in sched_init_smp()
/linux/include/linux/
H A Dsched.h1822 #define PF_NO_SETAFFINITY 0x04000000 /* Userland is not allowed to meddle with cpus_mask */ macro
1860 return (current->flags & PF_NO_SETAFFINITY) && in is_percpu_thread()
/linux/kernel/trace/
H A Dtrace_osnoise.c1718 current->flags &= ~(PF_NO_SETAFFINITY); in osnoise_main()
1921 current->flags &= ~(PF_NO_SETAFFINITY); in timerlat_main()
/linux/init/
H A Dmain.c705 tsk->flags |= PF_NO_SETAFFINITY; in rest_init()
/linux/kernel/rcu/
H A Drcuscale.c570 current->flags |= PF_NO_SETAFFINITY; in rcu_scale_writer()
/linux/fs/
H A Dexec.c1238 PF_NOFREEZE | PF_NO_SETAFFINITY); in begin_new_exec()
/linux/kernel/cgroup/
H A Dcpuset.c1114 if (task->flags & (PF_KTHREAD | PF_NO_SETAFFINITY)) in cpuset_update_tasks_cpumask()
H A Dcgroup.c3150 if (tsk->no_cgroup_migration || (tsk->flags & PF_NO_SETAFFINITY)) { in cgroup_procs_write_start()