apply_alternatives and cpu hotplug
Dannie Stanley
dannie.stanley at gmail.com
Tue Dec 13 11:49:33 EST 2011
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
More information about the Kernelnewbies
mailing list