[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1105311253510.5646@chino.kir.corp.google.com>
Date: Tue, 31 May 2011 13:03:03 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Russell King - ARM Linux <linux@....linux.org.uk>
cc: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
Nicolas Pitre <nicolas.pitre@...aro.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Eric Miao <eric.y.miao@...il.com>,
Samuel Ortiz <samuel@...tiz.org>
Subject: Re: IrDA driver fails on PXA255
On Tue, 31 May 2011, Russell King - ARM Linux wrote:
> Enabling CONFIG_ZONE_DMA is not a fix, it's making the problem vanish off
> the radar. It will mean that the drivers using GFP_DMA will never get
> fixed up.
>
Disabling CONFIG_ZONE_DMA is an optimization, do you agree? I asked
on Sunday what the downsides of enabling the option on arm are, and you
didn't mention any. So what's the problem with my patch to enable it for
this driver since it is using GFP_DMA? You claim that it'll never get
removed again to return to the _optimized_ case, yet my patch is
guaranteed to work for that driver in all configurations at the moment. I
don't think we should be fighting for the optimized case where the
alternative has no downside.
[ Patching the page allocator to also emit a line to the dmesg to direct
users directly to enabling CONFIG_ZONE_DMA wouldn't be a problem,
either. ]
> Change it to be a soft WARN_ON for one release. Anything else will just
> result in the problem being IGNORED.
>
The problem certainly isn't being ignored in this thread, or in the patch
that I sent to fix Dmitry's issue by default, so that doesn't seem to be
the case. What would be ignored, though, is if it just emitted a
WARN_ON() without failing the allocation so everything works perfectly.
--
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