Re: [tip:x86/urgent] x86-32: Restore irq stacks NUMA-awareallocations

From: Peter Zijlstra
Date: Fri Oct 29 2010 - 15:44:24 EST


On Fri, 2010-10-29 at 06:43 +0000, tip-bot for Eric Dumazet wrote:
> + irqctx = page_address(alloc_pages_node(cpu_to_node(cpu),
> + THREAD_FLAGS,
> + THREAD_ORDER));

Shouldn't we be checking for a NULL return from alloc_pages_node()
before calling page_address() on it?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/