From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751848AbbIGLlu (ORCPT ); Mon, 7 Sep 2015 07:41:50 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:52979 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750936AbbIGLlr (ORCPT ); Mon, 7 Sep 2015 07:41:47 -0400 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Nicolas Pitre , Yongtaek Lee , Russell King , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: fix bug which lowmem size is limited to 760MB Date: Mon, 07 Sep 2015 13:41:33 +0200 Message-ID: <1713935.2YV1sNJUyb@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <20150903091044.GW21084@n2100.arm.linux.org.uk> <1441276233-14566-1-git-send-email-ytk.lee@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:kGvJOgabi8DCxq5dVdvi3HPsgLq1SibCvTov5SRwfMTdwPC2Czx OD3iq4zK/8EU/LKNc5Cpi+u0JIflwr4sTIizgH4hu75E11qvLt4Q8vOHBEQYY8pRhV3pZn4 DUKIHt5/ULYdkixWYa3MEyPRe2v/uWpJmT4WqYXpKJXF8U+8sJ1C6F6OVs3nhi9F0GADnXx WETVoLh4U4bnk9ONE6/SA== X-UI-Out-Filterresults: notjunk:1;V01:K0:0Hll3RkzZN8=:dAbpGYi1uuDvlsvy+RaP2q LEtcOn8dMolavB7QzPiJ/jHIh7NVWSBAwltNh4mT8/q6EaAl4j7Ic8IvUJnvqsGWPCGaq0XKE cIStH4JrIbbtUaKH04G1vKwqO8uL0xd6vLYluNqAYFqYg14hFVr1JsOB8nAADEMtMtXa+WvYz 7+2ZQ489mPVzFS3PDJ+oxSsGKNYrryunyhN2hNPi0jO1OGkB6aSe2i0IkazCVeXyW5PnsZoGg k6B79AY/nilJ9aYc8yKeukuHAxTUJ8EfNsxhxNBLW3szBjOckrvOq4PUczgEAHZ8ulw7XhYRh uEJualtfofHawq+slSiGoBmr4WVzbBNRACAaR3QN08l/rkCkVvrp2bxr6xnFasRe9oJf3alaQ eminX5m9KWvWRCTdbNqhM9aQJThaNyYOACX+1NH2z13y3RMMkn6xq0sSvRCTldrV/W2BPsLW2 12jJn0Tc+R58HU3cPybbGS0HJvapREcI8i9Utc6EgbeJl/lX2MU4I9uGt+/TUbJHLXgQOovUd lz3jhULfaSkGcPzteHYwDjTLgqBUobUJtama9KLDGuT7kTyq61uorpm4QtWEgJo7gbt6dnx0x uFWXUEaRxMa+NZ9tvSQAqmSwbDWrF81ZUBZDldzFIeLjifV05urYMKHGl3b6bbpqtfumMlItI G6YnrmvDpHZQ22EGe9/aunrbowFUgvtR/9D/IdPbYjLXMhnbE6KzcxQqlIsis3ED9tHaoP/mW fT5x/8o34u0yKqV4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 03 September 2015 21:24:00 Nicolas Pitre wrote: > If 768MB targets were common place then it could be worth changing the > default vmalloc size to accommodate this memory size and testing all the > other targets to make sure no regressions are introduced. But given it > is easy to change the default via the kernel cmdline, and that you lose > only 8 MB otherwise, I don't think it is worth the trouble and/or the > risk. Agreed. Given how much more common 1GB hardware configurations are compared to 768MB configuration, we could however think about adding a VMSPLIT_3G_OPT option that x86 has (also VMSPLIT_2_75G on ARCH_TILE), to allow using the entire 1GB of lowmem without going all the way to VMSPLIT_2G. That option would also let us use the entire 768MB on the machines that Yongtaek Lee is interested in. Arnd