Home
last modified time | relevance | path

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

/linux-6.15/kernel/
H A Dkthread.c457 if (!(current->flags & PF_NO_SETAFFINITY) && !self->preferred_affinity) in kthread()
607 p->flags |= PF_NO_SETAFFINITY; in __kthread_bind_mask()
673 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.c2316 p->flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER | PF_IDLE | PF_NO_SETAFFINITY); in copy_process()
/linux-6.15/kernel/sched/
H A Didle.c391 WARN_ON_ONCE(!(current->flags & PF_NO_SETAFFINITY)); in play_idle_precise()
H A Dsyscalls.c1224 if (p->flags & PF_NO_SETAFFINITY) in sched_setaffinity()
H A Dcore.c3106 if ((ctx->flags & SCA_CHECK) && (p->flags & PF_NO_SETAFFINITY)) { in __set_cpus_allowed_ptr_locked()
7859 idle->flags |= PF_KTHREAD | PF_NO_SETAFFINITY; in init_idle()
7935 if (p->flags & PF_NO_SETAFFINITY) in task_can_attach()
8485 current->flags &= ~PF_NO_SETAFFINITY; in sched_init_smp()
/linux-6.15/include/linux/
H A Dsched.h1742 #define PF_NO_SETAFFINITY 0x04000000 /* Userland is not allowed to meddle with cpus_mask */ macro
1781 return (current->flags & PF_NO_SETAFFINITY) && in is_percpu_thread()
/linux-6.15/kernel/trace/
H A Dtrace_osnoise.c1690 current->flags &= ~(PF_NO_SETAFFINITY); in osnoise_main()
1873 current->flags &= ~(PF_NO_SETAFFINITY); in timerlat_main()
/linux-6.15/kernel/rcu/
H A Drcuscale.c551 current->flags |= PF_NO_SETAFFINITY; in rcu_scale_writer()
/linux-6.15/init/
H A Dmain.c716 tsk->flags |= PF_NO_SETAFFINITY; in rest_init()
/linux-6.15/fs/
H A Dexec.c1290 PF_NOFREEZE | PF_NO_SETAFFINITY); in begin_new_exec()
/linux-6.15/kernel/cgroup/
H A Dcpuset.c1123 if (task->flags & PF_NO_SETAFFINITY) in cpuset_update_tasks_cpumask()
H A Dcgroup.c3004 if (tsk->no_cgroup_migration || (tsk->flags & PF_NO_SETAFFINITY)) { in cgroup_procs_write_start()