From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932252AbdEKIvY (ORCPT ); Thu, 11 May 2017 04:51:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:54055 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932231AbdEKIvW (ORCPT ); Thu, 11 May 2017 04:51:22 -0400 Subject: Re: [PATCH v7 0/7] Introduce ZONE_CMA To: Michal Hocko Cc: Joonsoo Kim , Andrew Morton , Rik van Riel , Johannes Weiner , mgorman@techsingularity.net, Laura Abbott , Minchan Kim , Marek Szyprowski , Michal Nazarewicz , "Aneesh Kumar K . V" , Russell King , Will Deacon , linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@lge.com, Heiko Carstens , Martin Schwidefsky References: <20170411181519.GC21171@dhcp22.suse.cz> <20170412013503.GA8448@js1304-desktop> <20170413115615.GB11795@dhcp22.suse.cz> <20170417020210.GA1351@js1304-desktop> <20170424130936.GB1746@dhcp22.suse.cz> <20170425034255.GB32583@js1304-desktop> <20170427150636.GM4706@dhcp22.suse.cz> <32ac1107-14a3-fdff-ad48-0e246fec704f@suse.cz> <20170502130326.GJ14593@dhcp22.suse.cz> <398b341c-5fa7-1ad7-0840-752fa1908921@suse.cz> <20170504124648.GG31540@dhcp22.suse.cz> From: Vlastimil Babka Message-ID: <203a7f52-d444-dbcc-0cc0-0c77dffbcadd@suse.cz> Date: Thu, 11 May 2017 10:51:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <20170504124648.GG31540@dhcp22.suse.cz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/04/2017 02:46 PM, Michal Hocko wrote: > On Thu 04-05-17 14:33:24, Vlastimil Babka wrote: >>> >>> I am pretty sure s390 and ppc support NUMA and aim at supporting really >>> large systems. >> >> I don't see ppc there, > > config KVM_BOOK3S_64_HV > tristate "KVM for POWER7 and later using hypervisor mode in host" > depends on KVM_BOOK3S_64 && PPC_POWERNV > select KVM_BOOK3S_HV_POSSIBLE > select MMU_NOTIFIER > select CMA > > fa61a4e376d21 tries to explain some more Uh, that's unfortunate then. > [...] >>> Are we really ready to add another thing like that? How are distribution >>> kernels going to handle that? >> >> I still hope that generic enterprise/desktop distributions can disable >> it, and it's only used for small devices with custom kernels. >> >> The config burden is already there in any case, it just translates to >> extra migratetype and fastpath hooks, not extra zone and potentially >> less nodes. > > AFAIU the extra migrate type costs nothing when there are no cma > reservations. And those hooks can be made noop behind static branch > as well. So distribution kernels do not really have to be afraid of > enabling CMA currently. The tradeoff is unfortunate :/