Re: [PATCH] MIPS/mm: add compound tail page _mapcount when mapped

From: Ralf Baechle
Date: Fri Aug 24 2012 - 09:23:25 EST


On Wed, Aug 22, 2012 at 11:02:34AM +0800, Jovi Zhang wrote:

> see commit b6999b191 which target for x86 mm/gup, let it align with
> mips architecture.
>
> Quote from commit b6999b191:
> "If compound pages are used and the page is a
> tail page, gup_huge_pmd() increases _mapcount to record tail page are
> mapped while gup_huge_pud does not do that."

Thanks, applied and also acked' for -stable.

Note the patch got linewrapped along the way but it's trivial enough to be
fixed up.

Ralf
--
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/