diff for duplicates of <56EA7A78.6020308@synopsys.com> diff --git a/a/1.txt b/N1/1.txt index a771f0e..ddacb3a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,73 +19,3 @@ Thx, Vineet ------------> ->From 8e31856c9b154cc152486aa411ee38b4c737c7c3 Mon Sep 17 00:00:00 2001 -From: Vineet Gupta <vgupta@synopsys.com> -Date: Thu, 17 Mar 2016 15:00:59 +0530 -Subject: [PATCH] ARC: thp: unbork !CONFIG_TRANSPARENT_HUGEPAGE build - -linux-next for 4.6-rc1 timeline reported ARC build failures !THP - -| arch/arc/include/asm/tlbflush.h:29:0: warning: "flush_pmd_tlb_range" redefined -[enabled by default] -| arch/arc/include/asm/tlbflush.h:29:0: warning: "flush_pmd_tlb_range" redefined -[enabled by default] -| arch/arc/include/asm/tlbflush.h:29:0: warning: "flush_pmd_tlb_range" redefined -[enabled by default] - -Turns out that commit ("mm/thp/migration: switch from flush_tlb_range -to flush_pmd_tlb_range") triggered the issue while the problem was in -ARC code where THP specific helpers were not guarded with #ifdef. - -Signed-off-by: Vineet Gupta <vgupta@synopsys.com> ---- - arch/arc/include/asm/tlbflush.h | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/arch/arc/include/asm/tlbflush.h b/arch/arc/include/asm/tlbflush.h -index 1fe9c8c80280..f0d42f1e83f5 100644 ---- a/arch/arc/include/asm/tlbflush.h -+++ b/arch/arc/include/asm/tlbflush.h -@@ -17,8 +17,10 @@ void local_flush_tlb_page(struct vm_area_struct *vma, unsigned -long page); - void local_flush_tlb_kernel_range(unsigned long start, unsigned long end); - void local_flush_tlb_range(struct vm_area_struct *vma, - unsigned long start, unsigned long end); -+#ifdef CONFIG_TRANSPARENT_HUGEPAGE - void local_flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start, - unsigned long end); -+#endif - - #ifndef CONFIG_SMP - #define flush_tlb_range(vma, s, e) local_flush_tlb_range(vma, s, e) -@@ -26,7 +28,9 @@ void local_flush_pmd_tlb_range(struct vm_area_struct *vma, -unsigned long start, - #define flush_tlb_kernel_range(s, e) local_flush_tlb_kernel_range(s, e) - #define flush_tlb_all() local_flush_tlb_all() - #define flush_tlb_mm(mm) local_flush_tlb_mm(mm) -+#ifdef CONFIG_TRANSPARENT_HUGEPAGE - #define flush_pmd_tlb_range(vma, s, e) local_flush_pmd_tlb_range(vma, s, e) -+#endif - #else - extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, - unsigned long end); -@@ -34,7 +38,8 @@ extern void flush_tlb_page(struct vm_area_struct *vma, unsigned -long page); - extern void flush_tlb_kernel_range(unsigned long start, unsigned long end); - extern void flush_tlb_all(void); - extern void flush_tlb_mm(struct mm_struct *mm); -+#ifdef CONFIG_TRANSPARENT_HUGEPAGE - extern void flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start, -unsigned long end); -- -+#endif - #endif /* CONFIG_SMP */ - #endif --- -2.5.0 - --- -To unsubscribe, send a message with 'unsubscribe linux-mm' in -the body to majordomo@kvack.org. For more info on Linux MM, -see: http://www.linux-mm.org/ . -Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N1/content_digest index f2ea5a7..9bdc879 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -32,76 +32,6 @@ "Thx,\n" "Vineet\n" "\n" - "------------>\n" - ">From 8e31856c9b154cc152486aa411ee38b4c737c7c3 Mon Sep 17 00:00:00 2001\n" - "From: Vineet Gupta <vgupta@synopsys.com>\n" - "Date: Thu, 17 Mar 2016 15:00:59 +0530\n" - "Subject: [PATCH] ARC: thp: unbork !CONFIG_TRANSPARENT_HUGEPAGE build\n" - "\n" - "linux-next for 4.6-rc1 timeline reported ARC build failures !THP\n" - "\n" - "| arch/arc/include/asm/tlbflush.h:29:0: warning: \"flush_pmd_tlb_range\" redefined\n" - "[enabled by default]\n" - "| arch/arc/include/asm/tlbflush.h:29:0: warning: \"flush_pmd_tlb_range\" redefined\n" - "[enabled by default]\n" - "| arch/arc/include/asm/tlbflush.h:29:0: warning: \"flush_pmd_tlb_range\" redefined\n" - "[enabled by default]\n" - "\n" - "Turns out that commit (\"mm/thp/migration: switch from flush_tlb_range\n" - "to flush_pmd_tlb_range\") triggered the issue while the problem was in\n" - "ARC code where THP specific helpers were not guarded with #ifdef.\n" - "\n" - "Signed-off-by: Vineet Gupta <vgupta@synopsys.com>\n" - "---\n" - " arch/arc/include/asm/tlbflush.h | 7 ++++++-\n" - " 1 file changed, 6 insertions(+), 1 deletion(-)\n" - "\n" - "diff --git a/arch/arc/include/asm/tlbflush.h b/arch/arc/include/asm/tlbflush.h\n" - "index 1fe9c8c80280..f0d42f1e83f5 100644\n" - "--- a/arch/arc/include/asm/tlbflush.h\n" - "+++ b/arch/arc/include/asm/tlbflush.h\n" - "@@ -17,8 +17,10 @@ void local_flush_tlb_page(struct vm_area_struct *vma, unsigned\n" - "long page);\n" - " void local_flush_tlb_kernel_range(unsigned long start, unsigned long end);\n" - " void local_flush_tlb_range(struct vm_area_struct *vma,\n" - " \t\t\t unsigned long start, unsigned long end);\n" - "+#ifdef CONFIG_TRANSPARENT_HUGEPAGE\n" - " void local_flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start,\n" - " \t\t\t unsigned long end);\n" - "+#endif\n" - "\n" - " #ifndef CONFIG_SMP\n" - " #define flush_tlb_range(vma, s, e)\tlocal_flush_tlb_range(vma, s, e)\n" - "@@ -26,7 +28,9 @@ void local_flush_pmd_tlb_range(struct vm_area_struct *vma,\n" - "unsigned long start,\n" - " #define flush_tlb_kernel_range(s, e)\tlocal_flush_tlb_kernel_range(s, e)\n" - " #define flush_tlb_all()\t\t\tlocal_flush_tlb_all()\n" - " #define flush_tlb_mm(mm)\t\tlocal_flush_tlb_mm(mm)\n" - "+#ifdef CONFIG_TRANSPARENT_HUGEPAGE\n" - " #define flush_pmd_tlb_range(vma, s, e)\tlocal_flush_pmd_tlb_range(vma, s, e)\n" - "+#endif\n" - " #else\n" - " extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,\n" - " \t\t\t\t\t\t\t unsigned long end);\n" - "@@ -34,7 +38,8 @@ extern void flush_tlb_page(struct vm_area_struct *vma, unsigned\n" - "long page);\n" - " extern void flush_tlb_kernel_range(unsigned long start, unsigned long end);\n" - " extern void flush_tlb_all(void);\n" - " extern void flush_tlb_mm(struct mm_struct *mm);\n" - "+#ifdef CONFIG_TRANSPARENT_HUGEPAGE\n" - " extern void flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start,\n" - "unsigned long end);\n" - "-\n" - "+#endif\n" - " #endif /* CONFIG_SMP */\n" - " #endif\n" - "-- \n" - "2.5.0\n" - "\n" - "--\n" - "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" - "the body to majordomo@kvack.org. For more info on Linux MM,\n" - "see: http://www.linux-mm.org/ .\n" - "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" + ------------> -19cbaf6345782f041b5e2172de69deccb16d4e6d3c479fe44d73990d2dad1d89 +0392480dfb406be04bf7518e4d4ef437833197e1e6400842d084fdc1311fd82a
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.