On Wed, Feb 15, 2017 at 12:39:49PM -0800, akpm@xxxxxxxxxxxxxxxxxxxx wrote: > > The patch titled > Subject: mm,x86: fix SMP x86 32bit build for native_pud_clear() > has been added to the -mm tree. Its filename is > mm-x86-add-support-for-pud-sized-transparent-hugepages-fix-fix.patch > > This patch should soon appear at > http://ozlabs.org/~akpm/mmots/broken-out/mm-x86-add-support-for-pud-sized-transparent-hugepages-fix-fix.patch > and later at > http://ozlabs.org/~akpm/mmotm/broken-out/mm-x86-add-support-for-pud-sized-transparent-hugepages-fix-fix.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: Dave Jiang <dave.jiang@xxxxxxxxx> > Subject: mm,x86: fix SMP x86 32bit build for native_pud_clear() > > The fix introduced by e4decc90 to fix the UP case for 32bit x86, however > that broke the SMP case that was working previously. Add ifdef so the dummy > function only show up for 32bit UP case only. > > Fix: e4decc90 mm,x86: native_pud_clear missing on i386 build > > Link: http://lkml.kernel.org/r/148719066814.31111.3239231168815337012.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxx > Signed-off-by: Dave Jiang <dave.jiang@xxxxxxxxx> > Reported-by: Alexander Kapshuk <alexander.kapshuk@xxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > --- > > arch/x86/include/asm/pgtable-3level.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff -puN arch/x86/include/asm/pgtable-3level.h~mm-x86-add-support-for-pud-sized-transparent-hugepages-fix-fix arch/x86/include/asm/pgtable-3level.h > --- a/arch/x86/include/asm/pgtable-3level.h~mm-x86-add-support-for-pud-sized-transparent-hugepages-fix-fix > +++ a/arch/x86/include/asm/pgtable-3level.h > @@ -121,9 +121,11 @@ static inline void native_pmd_clear(pmd_ > *(tmp + 1) = 0; > } > > +#ifndef CONFIG_SMP > static inline void native_pud_clear(pud_t *pudp) > { > } > +#endif > > static inline void pud_clear(pud_t *pudp) > { > _ > > Patches currently in -mm which might be from dave.jiang@xxxxxxxxx are > > mm-dax-make-pmd_fault-and-friends-to-be-the-same-as-fault.patch > mm-dax-make-pmd_fault-and-friends-to-be-the-same-as-fault-v7.patch > mm-dax-move-pmd_fault-to-take-only-vmf-parameter.patch > mm-fs-reduce-fault-page_mkwrite-and-pfn_mkwrite-to-take-only-vmf.patch > mmfsdax-change-pmd_fault-to-huge_fault.patch > mmfsdax-change-pmd_fault-to-huge_fault-fix.patch > mm-x86-add-support-for-pud-sized-transparent-hugepages-fix.patch > mm-x86-add-support-for-pud-sized-transparent-hugepages-fix-fix.patch > dax-support-for-transparent-pud-pages-for-device-dax.patch > mm-replace-fault_flag_size-with-parameter-to-huge_fault.patch > Just a quick note to let you know that the patch included in next-20170221 did fix the problem I reported. Thanks once again. -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html