apply_alternatives and cpu hotplug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Regarding kernel version 2.6.38.8. When a module is loaded
apply_alternatives() is called which patches the module code with
instructions from the ELF headers of the module. It is my
understanding that these instructions are generally CPU optimizations
based on the capabilities of the CPU.
However, I notice that native_cpu_up() does not call
apply_alternatives(). So is it assumed that the CPU capabilities will
not change on CPU hotplug?


Thank you,
Dannie
-- 
Dannie M. Stanley

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux