[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48D3B6E4.90206@linux-foundation.org>
Date: Fri, 19 Sep 2008 09:27:48 -0500
From: Christoph Lameter <cl@...ux-foundation.org>
To: Pekka Enberg <penberg@...helsinki.fi>
CC: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-mm@...r.kernel.org, jeremy@...p.org, ebiederm@...ssion.com,
travis@....com, herbert@...dor.apana.org.au, xemul@...nvz.org
Subject: Re: [patch 3/4] cpu alloc: The allocator
Pekka Enberg wrote:
> On Fri, 2008-09-19 at 08:11 -0500, Christoph Lameter wrote:
>> I thought we could handle early boot panics with early_printk?
>
> Sure, but *if* we can limp along it's usually much nicer to debug
> WARN_ONs that trigger during early boot. But anyway, I'm fine with
> either way.
How would you do this?
if (condition) {
WARN_ON(1);
return NULL;
}
or do we have a macro for this situation.
if (WARN(condition))
return NULL;
?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists