[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1267818342.20243.35.camel@localhost.localdomain>
Date: Fri, 5 Mar 2010 19:45:42 +0000
From: Ian Campbell <Ian.Campbell@...rix.com>
To: Yinghai Lu <yinghai@...nel.org>
CC: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...e.hu>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Infinite loop on boot in free_early_partial due to start==end
on tip/master
On Fri, 2010-03-05 at 18:16 +0000, Yinghai Lu wrote:
>
> > + if (unlikely(start>=end)) {
> > + WARN_ONCE(1, "free_early_partial get wrong start/end
> \n:);
> > + return;
> > + }
> > +
Sure, although this can be written:
if (WARN_ONCE(start >= end, "free_early_partial.....\n"))
return;
Updated patch to follow.
Ian.
--
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