Hidetoshi Seto wrote:
Then, I suppose we need a CPU_UP_PREPARE callback to allocate memory before hot-added CPU enters cpu_init().
Ah, we cannot allocate bootmem later, so it would be better to make the callback to return NOTIFY_BAD if (!__per_cpu_mca[hcpu]). Thanks, H.Seto - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |