cpu-hotplug-spec
来自「linux 内核源代码」· 代码 · 共 22 行
TXT
22 行
Firmware support for CPU hotplug under Linux/x86-64---------------------------------------------------Linux/x86-64 supports CPU hotplug now. For various reasons Linux wants toknow in advance of boot time the maximum number of CPUs that could be pluggedinto the system. ACPI 3.0 currently has no official way to supplythis information from the firmware to the operating system.In ACPI each CPU needs an LAPIC object in the MADT table (5.2.11.5 in theACPI 3.0 specification). ACPI already has the concept of disabled LAPICobjects by setting the Enabled bit in the LAPIC object to zero.For CPU hotplug Linux/x86-64 expects now that any possible future hotpluggableCPU is already available in the MADT. If the CPU is not available yetit should have its LAPIC Enabled bit set to 0. Linux will use the numberof disabled LAPICs to compute the maximum number of future CPUs.In the worst case the user can overwrite this choice using a command lineoption (additional_cpus=...), but it is recommended to supply the correctnumber (or a reasonable approximation of it, with erring towards more not less)in the MADT to avoid manual configuration.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?