From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932378Ab1GEM2Q (ORCPT ); Tue, 5 Jul 2011 08:28:16 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:55139 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932366Ab1GEM2O (ORCPT ); Tue, 5 Jul 2011 08:28:14 -0400 Date: Tue, 5 Jul 2011 13:27:21 +0100 From: Russell King - ARM Linux To: Arnd Bergmann Cc: Marek Szyprowski , Ankita Garg , Daniel Walker , Jesse Barker , Mel Gorman , Chunsang Jeong , Jonathan Corbet , linux-kernel@vger.kernel.org, Michal Nazarewicz , linaro-mm-sig@lists.linaro.org, linux-mm@kvack.org, Kyungmin Park , KAMEZAWA Hiroyuki , Andrew Morton , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Subject: Re: [PATCH 4/8] mm: MIGRATE_CMA migration type added Message-ID: <20110705122721.GB8286@n2100.arm.linux.org.uk> References: <1309851710-3828-1-git-send-email-m.szyprowski@samsung.com> <1309851710-3828-5-git-send-email-m.szyprowski@samsung.com> <201107051344.31298.arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201107051344.31298.arnd@arndb.de> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 05, 2011 at 01:44:31PM +0200, Arnd Bergmann wrote: > > @@ -198,6 +198,12 @@ config MIGRATION > > pages as migration can relocate pages to satisfy a huge page > > allocation instead of reclaiming. > > > > +config CMA_MIGRATE_TYPE > > + bool > > + help > > + This enables the use the MIGRATE_CMA migrate type, which lets lets CMA > > + work on almost arbitrary memory range and not only inside ZONE_MOVABLE. > > + > > config PHYS_ADDR_T_64BIT > > def_bool 64BIT || ARCH_PHYS_ADDR_T_64BIT > > This is currently only selected on ARM with your patch set. That's because CMA is targeted at solving the "we need massive contiguous DMA areas" problem on ARM SoCs. And it does this without addressing the technical architecture problems surrounding multiple aliasing mappings with differing attributes which actually make it unsuitable for use on ARM. This is not the first time I've pointed that out, and I'm now at the point of basically ignoring this CMA work because I'm tired of constantly pointing this out. My silence on this subject must not be taken as placid acceptance of the approach, but revulsion at seemingly being constantly ignored and having these patches pushed time and time again with nothing really changing on that issue. It will be a sad day if these patches make their way into mainline without that being addressed, and will show contempt for architecture maintainers if it does.