Query: kthread_bind
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KTHREAD_BIND(9) Driver Basics KTHREAD_BIND(9)NAMEkthread_bind - bind a just-created kthread to a cpu.SYNOPSISvoid kthread_bind(struct task_struct * p, unsigned int cpu);ARGUMENTSp thread created by kthread_create. cpu cpu (might not be online, must be possible) for k to run on.DESCRIPTIONThis function is equivalent to set_cpus_allowed, except that cpu doesn't need to be online, and the thread must be stopped (i.e., just returned from kthread_create).COPYRIGHTKernel Hackers Manual 3.10 June 2014 KTHREAD_BIND(9)