Re: [patch] Fix large MCA bootmem allocation

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

 



Robin Holt wrote:
On Wed, Feb 06, 2008 at 09:30:17AM +0900, Hidetoshi Seto wrote:
Russ Anderson wrote:
The MCA code allocates bootmem memory for NR_CPUS, regardless
of how many cpus the system actually has.
So... how about using num_possible_cpus() instead?

num_possible_cpus() is not initialized until after this code is run for
the first time.

I grant you.
Then, I suppose we need a CPU_UP_PREPARE callback to allocate memory
before hot-added CPU enters cpu_init().

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

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux