On Thu, Jan 18, 2018 at 02:38:39PM +0100, Jan H. Schönherr wrote: > The function follow_pte_pmd() can theoretically return after having > acquired a PMD lock, even when DAX was not compiled with > CONFIG_FS_DAX_PMD. I don't think it can. How would a PMD entry get into a DAX VMA if we compiled the kernel without CONFIG_FS_DAX_PMD?