1. NAME

kthread_bind - bind a just-created kthread to a cpu.

2. SYNOPSIS

void kthread_bind(struct task_struct *  p , unsigned int  cpu );

3. ARGUMENTS

p
    thread created by kthread_create.

cpu
    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