|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 05/22] x86/srat: vmap the pages for acpi_slit
Hi Jan, On 20/12/2022 15:30, Jan Beulich wrote: On 16.12.2022 12:48, Julien Grall wrote:From: Hongyan Xia <hongyxia@xxxxxxxxxx> This avoids the assumption that boot pages are in the direct map. Signed-off-by: Hongyan Xia <hongyxia@xxxxxxxxxx> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> However, ... I will have a look to increase the vmap(). + BUG_ON(!acpi_slit);Similarly relevant for the earlier patch: It would be nice if boot failure for optional things like NUMA data could be avoided. If you can't map (or allocate the memory), then you are probably in a very bad situation because both should really not fail at boot. So I think this is correct to crash early because the admin will be able to look what went wrong. Otherwise, it may be missed in the noise. But I understand this is somewhat orthogonal to this series (the more that alloc_boot_pages() itself is also affected). Yet not entirely so, since previously there was no mapping failure possible here. See above. I don't see the problem of adding a potential mapping failure here and before. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |