Re: [patch] Fix large MCA bootmem allocation

Bjorn Helgaas
2008-02-05T20:21:00Z

On Tuesday 05 February 2008 12:32:33 pm Russ Anderson wrote:
> + if (first_time) {
> + data = mca_bootmem();
> + first_time = 0;
> + } else
> + data = page_address(alloc_pages_node(numa_node_id(),
> + GFP_KERNEL, get_order(sz)));
> + }

I assume this alloc_pages_node() path happens when a CPU is hot-added.
What happens if this alloc fails?

Bjorn