Re: [PATCH 1/2] x86: Optimize resource lookups for ioremap

From: Andrew Morton
Date: Wed Aug 27 2014 - 20:22:12 EST


On Wed, 27 Aug 2014 16:54:18 -0700 Mike Travis <travis@xxxxxxx> wrote:

> > If we're still at 1+ hours then little bodges like this are nowhere
> > near sufficient and sterner stuff will be needed.
> >
> > Do we actually need the test? My googling turns up zero instances of
> > anyone reporting the "ioremap on RAM pfn" warning.
>
> We get them more than we like, mostly from 3rd party vendors, and
> esp. those that merely port their windows drivers to linux.

Dang. So wrapping the check in CONFIG_DEBUG_VM would be problematic?
--
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/