Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1647351
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3.1 4/6] mm/hugetlb: Allow architectures to override huge_pte_clear() |
| Date | 2017-05-22 22:40 +0200 |
| Message-ID | <tK2hr-1Tl-5@gated-at.bofh.it> (permalink) |
| References | <tJVJ0-6iD-11@gated-at.bofh.it> <tJYnw-80c-37@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, May 22, 2017 at 6:25 PM, Punit Agrawal <punit.agrawal@arm.com> wrote: > When unmapping a hugepage range, huge_pte_clear() is used to clear the > page table entries that are marked as not present. huge_pte_clear() > internally just ends up calling pte_clear() which does not correctly > deal with hugepages consisting of contiguous page table entries. > > Add a size argument to address this issue and allow architectures to > override huge_pte_clear() by wrapping it in a #ifndef block. > > Update s390 implementation with the size parameter as well. > > Note that the change only affects huge_pte_clear() - the other generic > hugetlb functions don't need any change. > > Signed-off-by: Punit Agrawal <punit.agrawal@arm.com> > Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> > Cc: Heiko Carstens <heiko.carstens@de.ibm.com> > Cc: Arnd Bergmann <arnd@arndb.de> > Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> > Cc: Mike Kravetz <mike.kravetz@oracle.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 4/6] mm/hugetlb: Allow architectures to override huge_pte_clear() Punit Agrawal <punit.agrawal@arm.com> - 2017-05-22 15:40 +0200
Re: [PATCH v3 4/6] mm/hugetlb: Allow architectures to override huge_pte_clear() Arnd Bergmann <arnd@arndb.de> - 2017-05-22 16:00 +0200
Re: [PATCH v3 4/6] mm/hugetlb: Allow architectures to override huge_pte_clear() Punit Agrawal <punit.agrawal@arm.com> - 2017-05-22 17:50 +0200
[PATCH v3.1 4/6] mm/hugetlb: Allow architectures to override huge_pte_clear() Punit Agrawal <punit.agrawal@arm.com> - 2017-05-22 18:30 +0200
Re: [PATCH v3.1 4/6] mm/hugetlb: Allow architectures to override huge_pte_clear() Arnd Bergmann <arnd@arndb.de> - 2017-05-22 22:40 +0200
Re: [PATCH v3.1 4/6] mm/hugetlb: Allow architectures to override huge_pte_clear() Punit Agrawal <punit.agrawal@arm.com> - 2017-05-23 17:00 +0200
Re: [PATCH v3.1 4/6] mm/hugetlb: Allow architectures to override huge_pte_clear() Martin Schwidefsky <schwidefsky@de.ibm.com> - 2017-05-23 07:30 +0200
Re: [PATCH v3.1 4/6] mm/hugetlb: Allow architectures to override huge_pte_clear() Punit Agrawal <punit.agrawal@arm.com> - 2017-05-23 17:00 +0200
csiph-web