kthread_bind - bind a just-created kthread to a cpu.
2. SYNOPSIS ▲
void kthread_bind(struct task_struct * p , unsigned int cpu );
3. ARGUMENTS ▲
thread created by kthread_create.
cpu (might not be online, must be possible) for k to run on.
4. DESCRIPTION ▲
This function is equivalent to set_cpus_allowed, except that cpu doesnAqt need to be online, and the thread must be stopped (i.e., just returned from kthread_create).
5. COPYRIGHT ▲