title: Linux kernel on_each_cpu run on only one cpu (cpu0)
body: <p>I have this:</p>
  
  <pre><code>static void per_cpu_print(void *info)
  {
          printk("cccpuID = %d\n", smp_processor_id());
  }
  
  static void test(void)
  {
          on_each_cpu(per_cpu_print, NULL, 1);
  }
  </code></pre>
  
  <p><code>test</code> runs before <code>rest_init</code> in the kernel boot sequence.</p>
  
  <p>I only see one print: cccpuID = 0</p>
  
  <p>Im running ubuntu 16 with the 4.15 kernel inside VMware Workstation and I gave it 4 cores, haven changed anything in the kernel regarding smp.</p>