Re: [PATCH] x86/acpi: fix the comments in acpi_parse_lapic

2018-06-07 Thread Thomas Gleixner
On Thu, 7 Jun 2018, Li RongQing wrote: > This should be permit to preallocate memory for all NR_CPUS No. The comment is correct. The whole magic is there to size num_possible_cpus correctly so that we can avoid allocating for NR_CPUS which is most of the time larger than num_possible_cpus. Thank

[PATCH] x86/acpi: fix the comments in acpi_parse_lapic

2018-06-07 Thread Li RongQing
This should be permit to preallocate memory for all NR_CPUS Signed-off-by: Li RongQing --- arch/x86/kernel/acpi/boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index 3b20607d581b..8ae88605a5eb 100644 --- a/a