From mboxrd@z Thu Jan 1 00:00:00 1970 From: steve.capper@linaro.org (Steve Capper) Date: Tue, 4 Jun 2013 15:37:04 +0100 Subject: [PATCH v2 0/4] ARM: mm: HugeTLB + THP support. In-Reply-To: <20130604130329.GR27516@mudshark.cambridge.arm.com> References: <1369323080-9673-1-git-send-email-steve.capper@linaro.org> <20130603104010.GA26112@linaro.org> <20130604125610.GA16818@linaro.org> <20130604130329.GR27516@mudshark.cambridge.arm.com> Message-ID: <20130604143702.GA18323@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jun 04, 2013 at 02:03:29PM +0100, Will Deacon wrote: > On Tue, Jun 04, 2013 at 01:56:12PM +0100, Steve Capper wrote: > > On Mon, Jun 03, 2013 at 11:40:11AM +0100, Steve Capper wrote: > > > On Thu, May 23, 2013 at 04:31:16PM +0100, Steve Capper wrote: > > > > The following patches bring both HugeTLB support and Transparent > > > > HugePage (THP) support to ARM. > > > > > > > > Only long descriptors (LPAE) are supported in this series. > > > > > > > > The code has been tested on an Arndale board (Exynos 5250). > > > > > > > > This patch set is based on 3.10-rc2. > > > > > > > > Major changes since the Patch: > > > > * LPAE code has been separated from non-LPAE code (this series > > > > is the LPAE code). > > > > * PROT_NONE support for HugeTLB and THP has been implemented. > > > > > > > > Major changes since the RFC: > > > > * huge pmd sharing removed from the 3-level code as this was > > > > found to be very rarely, if ever?, used. This allowed for some > > > > code simplification. > > > > > > > > * hardware pmd bits for 2-levels of paging are now taken from > > > > mmu.c. Also the mapping code now uses pte/pmd bit helper > > > > functions rather than the custom pre-processor logic. > > > > > > > > Cheers, > > > > -- > > > > Steve > > > > > > > [ ... ] > > > > Just a polite ping on the above. > > > > Are people happy to have this patch set merged? > > Looks good to me, but worth checking that it doesn't conflict with the LPAE > fixes I plan to send for 3.11 (since they're not terribly critical): > > https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/log/?h=for-rmk/lpae > > Of course, I can fix things up in my branch if necessary (just send me a > pointer to your git repo). Hey Will, I've rebased the series against to 3.10-rc4, and merged in your for-rmk/lpae branch. It builds, and I've run my way through the libhugetlbfs unit tests successfully on a Versatile Express (TC2 tile). I get THP collapses, splits and allocs too when I rebuild the test suite. It looks good to me so far. Thanks, -- Steve