From: punit.agrawal@arm.com (Punit Agrawal)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 00/11] arm64: Enable contiguous pte hugepage support
Date: Mon, 22 May 2017 15:39:47 +0100 [thread overview]
Message-ID: <20170522143958.12867-2-punit.agrawal@arm.com> (raw)
In-Reply-To: <20170522143958.12867-1-punit.agrawal@arm.com>
Hi,
This patchset addresses all the known issues with contiguous hugetlb
pages. Support for contiguous hugepages is useful on systems where the
PMD hugepage size is too large (512MB hugepage when using 64k page
granule).
The patches can be split as
* Patches 1-5, 11 cleanups and improvements
* Patch 6 addresses the break-before-make requirement of the
architecture for contiguous hugepages. These patches depend on
enabling memory failure handling on arm64[2].
* Patch 7-9 add support for handling swap entries for contiguous pte
hugepages. These patches depend on fixes to core code required to
support contiguous hugepages[3].
* Patch 10 enables contiguous hugepage support for arm64
The patches are based on v4.12-rc2. Previous postings can be found at
[0], [1].
All feedback welcome.
Thanks,
Punit
[0] https://www.spinics.net/lists/arm-kernel/msg570422.html
[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2017-March/497027.html
[2] https://www.spinics.net/lists/arm-kernel/msg581657.html
[3] https://www.spinics.net/lists/arm-kernel/msg582682.html
Changes v2 -> v3
* Rebased on v4.12-rc2
* Included swap related fixes in this series
* Enable contiguous pte hugepages
Changes v1 -> v2:
* Marked patch 2 for stable
* Fixed comment issues in patch 7
* Added tags
Punit Agrawal (4):
arm64: hugetlbpages: Handle swap entries in huge_pte_offset() for
contiguous hugepages
arm64: hugetlb: Override huge_pte_clear() to support contiguous
hugepages
arm64: hugetlb: Override set_huge_swap_pte_at() to support contiguous
hugepages
arm64: Re-enable support for contiguous hugepages
Steve Capper (7):
arm64: hugetlb: set_huge_pte_at Add WARN_ON on !pte_present
arm64: hugetlb: Refactor find_num_contig
arm64: hugetlb: Introduce pte_pgprot helper
arm64: hugetlb: Remove spurious calls to huge_ptep_offset
arm64: hugetlb: Spring clean huge pte accessors
arm64: hugetlb: Add break-before-make logic for contiguous entries
arm64: hugetlb: Cleanup setup_hugepagesz
arch/arm64/mm/hugetlbpage.c | 305 ++++++++++++++++++++++++++++++--------------
1 file changed, 209 insertions(+), 96 deletions(-)
--
2.11.0
next prev parent reply other threads:[~2017-05-22 14:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-22 14:39 [PATCH v3 00/11] arm64: Enable contiguous pte hugepage support Punit Agrawal
2017-05-22 14:39 ` Punit Agrawal [this message]
2017-05-22 14:39 ` [PATCH v3 01/11] arm64: hugetlb: set_huge_pte_at Add WARN_ON on !pte_present Punit Agrawal
2017-05-22 14:39 ` [PATCH v3 02/11] arm64: hugetlb: Refactor find_num_contig Punit Agrawal
2017-05-22 14:39 ` [PATCH v3 03/11] arm64: hugetlb: Introduce pte_pgprot helper Punit Agrawal
2017-05-22 14:39 ` [PATCH v3 04/11] arm64: hugetlb: Remove spurious calls to huge_ptep_offset Punit Agrawal
2017-05-22 14:39 ` [PATCH v3 05/11] arm64: hugetlb: Spring clean huge pte accessors Punit Agrawal
2017-05-22 14:39 ` [PATCH v3 06/11] arm64: hugetlb: Add break-before-make logic for contiguous entries Punit Agrawal
2017-05-22 14:39 ` [PATCH v3 07/11] arm64: hugetlbpages: Handle swap entries in huge_pte_offset() for contiguous hugepages Punit Agrawal
2017-05-22 14:39 ` [PATCH v3 08/11] arm64: hugetlb: Override huge_pte_clear() to support " Punit Agrawal
2017-05-22 16:45 ` [PATCH v3.1 8/11] " Punit Agrawal
2017-05-22 14:39 ` [PATCH v3 09/11] arm64: hugetlb: Override set_huge_swap_pte_at() " Punit Agrawal
2017-05-22 16:48 ` [PATCH v3.1 9/11] " Punit Agrawal
2017-05-22 14:39 ` [PATCH v3 10/11] arm64: Re-enable support for " Punit Agrawal
2017-05-22 14:39 ` [PATCH v3 11/11] arm64: hugetlb: Cleanup setup_hugepagesz Punit Agrawal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170522143958.12867-2-punit.agrawal@arm.com \
--to=punit.agrawal@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).