[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080823165318.50ae9d8c@infradead.org>
Date: Sat, 23 Aug 2008 16:53:18 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: Ingo Molnar <mingo@...e.hu>
Cc: Yinghai Lu <yhlu.kernel@...il.com>,
Joshua Hoblitt <josh@...litt.com>,
Andrew Morton <akpm@...ux-foundation.org>,
bugme-daemon@...zilla.kernel.org, linux-kernel@...r.kernel.org,
j_kernel@...litt.com
Subject: Re: [Bug 11388] New: 2.6.27-rc3 warns about MTRR range; only 3 of
16gb of memory is usable
On Fri, 22 Aug 2008 08:24:59 +0200
Ingo Molnar <mingo@...e.hu> wrote:
>
> * Yinghai Lu <yhlu.kernel@...il.com> wrote:
>
> > > + if (tmp != mask_lo) {
> > > + WARN_ON("mtrr: your BIOS has set up an
> > > incorrect mask, fixing it up.\n");
> >
> > can you change WARN_ON to WARN_ON_ONCE ?
>
> the commit below does that. Note that the condition is
> WARN_ON(condition) or WARN(string) - WARN_ON(string) will just print
> a kernel stack unconditionally. Unfortunately there's no WARN_ONCE().
> (Arjan?)
Andrew removed that from the patches as "unused" :-(
oh well easy to add back ;-)
--
If you want to reach me at my work email, use arjan@...ux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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