title: Can I pass parameter to driver during INSMOD or MODPROBE?
body: <p>I currently worte a USB device driver in which I created a Kthread from probe() function. The general kthread_create() function creates thread on the CPU which is least busy.  </p>
  
  <p>What I want to do is create kthread on a particular CPU (kthread_create_on_cpu()), so that I can assign seperate core to device threads dealing with output devices.<br>
  How can I pass the CPU number to module when the module/driver is being loaded.  </p>
  
  <p>Either I can use a global variable which will be set once when the system boots up and will be read by drivers OR pass CPU number to module while it's being loaded.  </p>
  
  <p>Please suggest which method will be more feasible to use and implement.</p>
  
  <p>Thanks and Regards,<br>
  Mitesh G</p>