On Thu, 2025-03-13 at 16:10 -0700, Andrew Morton wrote: > On Wed, 12 Feb 2025 03:13:57 +1100 Andrew Donnellan > <a...@linux.ibm.com> wrote: > > > This reverts commit 931c38e16499 ("mm/page_table_check: remove > > unused > > parameter in [__]page_table_check_pud_clear"). > > > > Reinstate previously unused parameters for the purpose of > > supporting > > powerpc platforms, as many do not encode user/kernel ownership of > > the > > page in the pte, but instead in the address of the access. > > My x86-64 allmodconfig exploded. > > ./arch/x86/include/asm/pgtable.h: In function 'pudp_establish': > ./arch/x86/include/asm/pgtable.h:1443:46: error: passing argument 2 > of 'page_table_check_pud_set' makes integer from pointer without a > cast [-Werror=int-conversion] > 1443 | page_table_check_pud_set(vma->vm_mm, pudp, pud); > | ^~~~ > | | > | pud_t * > > > > #ifdef CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD > static inline pud_t pudp_establish(struct vm_area_struct *vma, > unsigned long address, pud_t *pudp, pud_t pud) > { > page_table_check_pud_set(vma->vm_mm, pudp, pud); > ... >
Sorry, my email filters sent this to the wrong folder for some reason and I didn't see this. I've sent v14: https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=452247 Thanks, -- Andrew Donnellan OzLabs, ADL Canberra a...@linux.ibm.com IBM Australia Limited