Re: Crash in -next due to 'mm/vmalloc: replace opencoded 4-level page walkers'

From: Andrew Morton
Date: Fri Oct 28 2016 - 17:27:52 EST


On Fri, 28 Oct 2016 21:15:48 +0100 Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:

> > Bisect points to commit 0c79e3331f08 ("mm/vmalloc: replace opencoded 4-level
> > page walkers"). Reverting this patch fixes the problem.
>
> Hmm, apply_to_pte_range() has a BUG_ON(pmd_huge(*pmd)) but the old
> vmap_pte_range() does not and neither has the code to handle that case.
> Presuming that the BUG_ON() there is actually meaningful.

Thanks, I'll drop mm-vmalloc-replace-opencoded-4-level-page-walkers.patch for now.