Re: [PATCH] mm: pagewalk: call pte_hole() for VM_PFNMAP during walk_page_range

From: Andrew Morton
Date: Thu Jan 22 2015 - 15:08:43 EST


On Wed, 21 Jan 2015 11:43:13 +0530 Shiraz Hashim <shashim@xxxxxxxxxxxxxx> wrote:

> walk_page_range silently skips vma having VM_PFNMAP set,
> which leads to undesirable behaviour at client end (who
> called walk_page_range). For example for pagemap_read,
> when no callbacks are called against VM_PFNMAP vma,
> pagemap_read may prepare pagemap data for next virtual
> address range at wrong index.

This changelog doesn't have enough information for me to be able to
work out whether a -stable backport is needed. Please always describe
the user-visible effects of a bug.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/