diff for duplicates of <20191218142139.GA1454@linux.ibm.com> diff --git a/a/1.txt b/N1/1.txt index fcfffbc..1b87793 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -28,7 +28,7 @@ asm-generic/pgtable-nop4d-hack.h and the related code from the kernel. > > +++ b/arch/ia64/include/asm/pgalloc.h > > @@ -36,9 +36,9 @@ static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) > > -> > #if CONFIG_PGTABLE_LEVELS = 4 +> > #if CONFIG_PGTABLE_LEVELS == 4 > > static inline void > > -pgd_populate(struct mm_struct *mm, pgd_t * pgd_entry, pud_t * pud) > > +p4d_populate(struct mm_struct *mm, p4d_t * p4d_entry, pud_t * pud) @@ -45,7 +45,7 @@ asm-generic/pgtable-nop4d-hack.h and the related code from the kernel. > > @@ -283,12 +283,12 @@ extern unsigned long VMALLOC_END; > > #define pud_page(pud) virt_to_page((pud_val(pud) + PAGE_OFFSET)) > > -> > #if CONFIG_PGTABLE_LEVELS = 4 +> > #if CONFIG_PGTABLE_LEVELS == 4 > > -#define pgd_none(pgd) (!pgd_val(pgd)) > > -#define pgd_bad(pgd) (!ia64_phys_addr_valid(pgd_val(pgd))) > > -#define pgd_present(pgd) (pgd_val(pgd) != 0UL) @@ -62,7 +62,7 @@ asm-generic/pgtable-nop4d-hack.h and the related code from the kernel. > > > > /* > > @@ -388,7 +388,7 @@ pgd_offset (const struct mm_struct *mm, unsigned long address) -> > #if CONFIG_PGTABLE_LEVELS = 4 +> > #if CONFIG_PGTABLE_LEVELS == 4 > > /* Find an entry in the second-level page table.. */ > > #define pud_offset(dir,addr) \ > > - ((pud_t *) pgd_page_vaddr(*(dir)) + (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))) @@ -73,7 +73,7 @@ asm-generic/pgtable-nop4d-hack.h and the related code from the kernel. > > @@ -582,10 +582,9 @@ extern struct page *zero_page_memmap_ptr; > > > > -> > #if CONFIG_PGTABLE_LEVELS = 3 +> > #if CONFIG_PGTABLE_LEVELS == 3 > > -#define __ARCH_USE_5LEVEL_HACK > > #include <asm-generic/pgtable-nopud.h> > > #endif diff --git a/a/content_digest b/N1/content_digest index 5cee12f..cba28c6 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020191218135939.GD28111@dhcp22.suse.cz\0" "From\0Mike Rapoport <rppt@linux.ibm.com>\0" "Subject\0Re: [PATCH] ia64: add support for folded p4d page tables\0" - "Date\0Wed, 18 Dec 2019 14:21:40 +0000\0" + "Date\0Wed, 18 Dec 2019 16:21:40 +0200\0" "To\0Michal Hocko <mhocko@kernel.org>\0" "Cc\0Mike Rapoport <rppt@kernel.org>" Tony Luck <tony.luck@intel.com> @@ -42,7 +42,7 @@ "> > +++ b/arch/ia64/include/asm/pgalloc.h\n" "> > @@ -36,9 +36,9 @@ static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)\n" "> > \n" - "> > #if CONFIG_PGTABLE_LEVELS = 4\n" + "> > #if CONFIG_PGTABLE_LEVELS == 4\n" "> > static inline void\n" "> > -pgd_populate(struct mm_struct *mm, pgd_t * pgd_entry, pud_t * pud)\n" "> > +p4d_populate(struct mm_struct *mm, p4d_t * p4d_entry, pud_t * pud)\n" @@ -59,7 +59,7 @@ "> > @@ -283,12 +283,12 @@ extern unsigned long VMALLOC_END;\n" "> > #define pud_page(pud)\t\t\tvirt_to_page((pud_val(pud) + PAGE_OFFSET))\n" "> > \n" - "> > #if CONFIG_PGTABLE_LEVELS = 4\n" + "> > #if CONFIG_PGTABLE_LEVELS == 4\n" "> > -#define pgd_none(pgd)\t\t\t(!pgd_val(pgd))\n" "> > -#define pgd_bad(pgd)\t\t\t(!ia64_phys_addr_valid(pgd_val(pgd)))\n" "> > -#define pgd_present(pgd)\t\t(pgd_val(pgd) != 0UL)\n" @@ -76,7 +76,7 @@ "> > \n" "> > /*\n" "> > @@ -388,7 +388,7 @@ pgd_offset (const struct mm_struct *mm, unsigned long address)\n" - "> > #if CONFIG_PGTABLE_LEVELS = 4\n" + "> > #if CONFIG_PGTABLE_LEVELS == 4\n" "> > /* Find an entry in the second-level page table.. */\n" "> > #define pud_offset(dir,addr) \\\n" "> > -\t((pud_t *) pgd_page_vaddr(*(dir)) + (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))\n" @@ -87,7 +87,7 @@ "> > @@ -582,10 +582,9 @@ extern struct page *zero_page_memmap_ptr;\n" "> > \n" "> > \n" - "> > #if CONFIG_PGTABLE_LEVELS = 3\n" + "> > #if CONFIG_PGTABLE_LEVELS == 3\n" "> > -#define __ARCH_USE_5LEVEL_HACK\n" "> > #include <asm-generic/pgtable-nopud.h>\n" "> > #endif\n" @@ -258,4 +258,4 @@ "Sincerely yours,\n" Mike. -c4213454f7b2f62e94253c497d73f87b66d23b772ce448c7f19f2299b78fb9b0 +55f544c3082d74a97496b33de097cb36ceb40c9250f27d855e257ff753afbb0a
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.