+ mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm/hugetlb: remove arch_prepare/release_hugepage from arch headers
has been added to the -mm tree.  Its filename is
     mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Dominik Dingel <dingel@xxxxxxxxxxxxxxxxxx>
Subject: mm/hugetlb: remove arch_prepare/release_hugepage from arch headers

Nobody used these hooks so they were removed from common code, and can now
be removed from the architectures.

Signed-off-by: Dominik Dingel <dingel@xxxxxxxxxxxxxxxxxx>
Acked-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
Acked-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/arm/include/asm/hugetlb.h     |    9 ---------
 arch/arm64/include/asm/hugetlb.h   |    9 ---------
 arch/ia64/include/asm/hugetlb.h    |    9 ---------
 arch/metag/include/asm/hugetlb.h   |    9 ---------
 arch/mips/include/asm/hugetlb.h    |    9 ---------
 arch/powerpc/include/asm/hugetlb.h |    9 ---------
 arch/sh/include/asm/hugetlb.h      |    9 ---------
 arch/sparc/include/asm/hugetlb.h   |    9 ---------
 arch/tile/include/asm/hugetlb.h    |    9 ---------
 arch/x86/include/asm/hugetlb.h     |    9 ---------
 10 files changed, 90 deletions(-)

diff -puN arch/arm/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers arch/arm/include/asm/hugetlb.h
--- a/arch/arm/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers
+++ a/arch/arm/include/asm/hugetlb.h
@@ -63,15 +63,6 @@ static inline pte_t huge_pte_wrprotect(p
 	return pte_wrprotect(pte);
 }
 
-static inline int arch_prepare_hugepage(struct page *page)
-{
-	return 0;
-}
-
-static inline void arch_release_hugepage(struct page *page)
-{
-}
-
 static inline void arch_clear_hugepage_flags(struct page *page)
 {
 	clear_bit(PG_dcache_clean, &page->flags);
diff -puN arch/arm64/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers arch/arm64/include/asm/hugetlb.h
--- a/arch/arm64/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers
+++ a/arch/arm64/include/asm/hugetlb.h
@@ -96,15 +96,6 @@ static inline pte_t huge_pte_wrprotect(p
 	return pte_wrprotect(pte);
 }
 
-static inline int arch_prepare_hugepage(struct page *page)
-{
-	return 0;
-}
-
-static inline void arch_release_hugepage(struct page *page)
-{
-}
-
 static inline void arch_clear_hugepage_flags(struct page *page)
 {
 	clear_bit(PG_dcache_clean, &page->flags);
diff -puN arch/ia64/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers arch/ia64/include/asm/hugetlb.h
--- a/arch/ia64/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers
+++ a/arch/ia64/include/asm/hugetlb.h
@@ -65,15 +65,6 @@ static inline pte_t huge_ptep_get(pte_t
 	return *ptep;
 }
 
-static inline int arch_prepare_hugepage(struct page *page)
-{
-	return 0;
-}
-
-static inline void arch_release_hugepage(struct page *page)
-{
-}
-
 static inline void arch_clear_hugepage_flags(struct page *page)
 {
 }
diff -puN arch/metag/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers arch/metag/include/asm/hugetlb.h
--- a/arch/metag/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers
+++ a/arch/metag/include/asm/hugetlb.h
@@ -67,15 +67,6 @@ static inline pte_t huge_ptep_get(pte_t
 	return *ptep;
 }
 
-static inline int arch_prepare_hugepage(struct page *page)
-{
-	return 0;
-}
-
-static inline void arch_release_hugepage(struct page *page)
-{
-}
-
 static inline void arch_clear_hugepage_flags(struct page *page)
 {
 }
diff -puN arch/mips/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers arch/mips/include/asm/hugetlb.h
--- a/arch/mips/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers
+++ a/arch/mips/include/asm/hugetlb.h
@@ -110,15 +110,6 @@ static inline pte_t huge_ptep_get(pte_t
 	return *ptep;
 }
 
-static inline int arch_prepare_hugepage(struct page *page)
-{
-	return 0;
-}
-
-static inline void arch_release_hugepage(struct page *page)
-{
-}
-
 static inline void arch_clear_hugepage_flags(struct page *page)
 {
 }
diff -puN arch/powerpc/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers arch/powerpc/include/asm/hugetlb.h
--- a/arch/powerpc/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers
+++ a/arch/powerpc/include/asm/hugetlb.h
@@ -168,15 +168,6 @@ static inline pte_t huge_ptep_get(pte_t
 	return *ptep;
 }
 
-static inline int arch_prepare_hugepage(struct page *page)
-{
-	return 0;
-}
-
-static inline void arch_release_hugepage(struct page *page)
-{
-}
-
 static inline void arch_clear_hugepage_flags(struct page *page)
 {
 }
diff -puN arch/sh/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers arch/sh/include/asm/hugetlb.h
--- a/arch/sh/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers
+++ a/arch/sh/include/asm/hugetlb.h
@@ -79,15 +79,6 @@ static inline pte_t huge_ptep_get(pte_t
 	return *ptep;
 }
 
-static inline int arch_prepare_hugepage(struct page *page)
-{
-	return 0;
-}
-
-static inline void arch_release_hugepage(struct page *page)
-{
-}
-
 static inline void arch_clear_hugepage_flags(struct page *page)
 {
 	clear_bit(PG_dcache_clean, &page->flags);
diff -puN arch/sparc/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers arch/sparc/include/asm/hugetlb.h
--- a/arch/sparc/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers
+++ a/arch/sparc/include/asm/hugetlb.h
@@ -78,15 +78,6 @@ static inline pte_t huge_ptep_get(pte_t
 	return *ptep;
 }
 
-static inline int arch_prepare_hugepage(struct page *page)
-{
-	return 0;
-}
-
-static inline void arch_release_hugepage(struct page *page)
-{
-}
-
 static inline void arch_clear_hugepage_flags(struct page *page)
 {
 }
diff -puN arch/tile/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers arch/tile/include/asm/hugetlb.h
--- a/arch/tile/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers
+++ a/arch/tile/include/asm/hugetlb.h
@@ -94,15 +94,6 @@ static inline pte_t huge_ptep_get(pte_t
 	return *ptep;
 }
 
-static inline int arch_prepare_hugepage(struct page *page)
-{
-	return 0;
-}
-
-static inline void arch_release_hugepage(struct page *page)
-{
-}
-
 static inline void arch_clear_hugepage_flags(struct page *page)
 {
 }
diff -puN arch/x86/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers arch/x86/include/asm/hugetlb.h
--- a/arch/x86/include/asm/hugetlb.h~mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers
+++ a/arch/x86/include/asm/hugetlb.h
@@ -80,15 +80,6 @@ static inline pte_t huge_ptep_get(pte_t
 	return *ptep;
 }
 
-static inline int arch_prepare_hugepage(struct page *page)
-{
-	return 0;
-}
-
-static inline void arch_release_hugepage(struct page *page)
-{
-}
-
 static inline void arch_clear_hugepage_flags(struct page *page)
 {
 }
_

Patches currently in -mm which might be from dingel@xxxxxxxxxxxxxxxxxx are

s390-mm-make-hugepages_supported-a-boot-time-decision.patch
mm-hugetlb-remove-unused-arch-hook-prepare-release_hugepage.patch
mm-hugetlb-remove-arch_prepare-release_hugepage-from-arch-headers.patch
s390-hugetlb-remove-dead-code-for-sw-emulated-huge-pages.patch
s390-mm-forward-check-for-huge-pmds-to-pmd_large.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux