Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932157AbaFCA10 (ORCPT ); Mon, 2 Jun 2014 20:27:26 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:45784 "EHLO mail-ob0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752169AbaFCA1Y convert rfc822-to-8bit (ORCPT ); Mon, 2 Jun 2014 20:27:24 -0400 MIME-Version: 1.0 In-Reply-To: <20140424110321.GN26756@n2100.arm.linux.org.uk> References: <1397648803-15961-1-git-send-email-steve.capper@linaro.org> <20140424102229.GA28014@linaro.org> <20140424103639.GC19564@arm.com> <20140424104232.GK26756@n2100.arm.linux.org.uk> <20140424110321.GN26756@n2100.arm.linux.org.uk> Date: Tue, 3 Jun 2014 03:27:24 +0300 Message-ID: Subject: Re: [PATCH V2 0/5] Huge pages for short descriptors on ARM From: Grazvydas Ignotas To: Russell King - ARM Linux Cc: Steve Capper , Catalin Marinas , Will Deacon , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "gerald.schaefer@de.ibm.com" , "akpm@linux-foundation.org" , "linux-arm-kernel@lists.infradead.org" , Siarhei Siamashka Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 24, 2014 at 2:03 PM, Russell King - ARM Linux wrote: > On Thu, Apr 24, 2014 at 11:55:56AM +0100, Steve Capper wrote: >> On 24 April 2014 11:42, Russell King - ARM Linux wrote: >> > On Thu, Apr 24, 2014 at 11:36:39AM +0100, Will Deacon wrote: >> >> I guess I'm after some commitment that this is (a) useful to somebody and >> >> (b) going to be tested regularly, otherwise it will go the way of things >> >> like big-endian, where we end up carrying around code which is broken more >> >> often than not (although big-endian is more self-contained). >> > >> > It may be something worth considering adding to my nightly builder/boot >> > testing, but I suspect that's impractical as it probably requires a BE >> > userspace, which would then mean that the platform can't boot LE. >> > >> > I suspect that we will just have to rely on BE users staying around and >> > reporting problems when they occur. >> >> The huge page support is for standard LE, I think Will was saying that >> this will be like BE if no-one uses it. > > We're not saying that. > > What we're asking is this: *Who* is using hugepages today? We are using it on opanpandora handheld, it's really useful for doing graphics in software. Here are some benchmarks I did some time ago: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-February/148835.html For example Cortex-A8 only has 32 dTLB entries so they run out pretty fast while drawing vertical lines on linear images. And it's not so rare thing to do, like for drawing vertical scrollbars. Other people find use for it too, like to get more consistent results between benchmark runs: http://ssvb.github.io/2013/06/27/fullhd-x11-desktop-performance-of-the-allwinner-a10.html Yes in my case this is niche device and I can keep patching in the hugepage support, but mainline support would make life easier and would be very much appreciated. -- GraÅžvydas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/