Home
last modified time | relevance | path

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

/linux/kernel/
H A Dkthread.c456 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()
H A Dreboot.c262 current->flags |= PF_NO_SETAFFINITY; in migrate_to_reboot_cpu()
H A Dfork.c2068 p->flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER | PF_IDLE | PF_NO_SETAFFINITY); in copy_process()
/linux/kernel/sched/
H A Didle.c396 WARN_ON_ONCE(!(current->flags & PF_NO_SETAFFINITY)); in play_idle_precise()
H A Dsyscalls.c1218 if (p->flags & PF_NO_SETAFFINITY) in sched_setaffinity()
H A Dcore.c3092 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()
/linux/include/linux/
H A Dsched.h1759 #define PF_NO_SETAFFINITY 0x04000000 /* Userland is not allowed to meddle with cpus_mask */ macro
1797 return (current->flags & PF_NO_SETAFFINITY) && in is_percpu_thread()
/linux/kernel/trace/
H A Dtrace_osnoise.c1691 current->flags &= ~(PF_NO_SETAFFINITY); in osnoise_main()
1874 current->flags &= ~(PF_NO_SETAFFINITY); in timerlat_main()
/linux/kernel/rcu/
H A Drcuscale.c551 current->flags |= PF_NO_SETAFFINITY; in rcu_scale_writer()
/linux/init/
H A Dmain.c730 tsk->flags |= PF_NO_SETAFFINITY; in rest_init()
/linux/fs/
H A Dexec.c1182 PF_NOFREEZE | PF_NO_SETAFFINITY); in begin_new_exec()
/linux/kernel/cgroup/
H A Dcpuset.c1189 if (task->flags & PF_NO_SETAFFINITY) in cpuset_update_tasks_cpumask()
H A Dcgroup.c3081 if (tsk->no_cgroup_migration || (tsk->flags & PF_NO_SETAFFINITY)) { in cgroup_procs_write_start()