[Top] [All Lists]

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

To: Jovi Zhang <>
Subject: Re: [PATCH] MIPS/mm: add compound tail page _mapcount when mapped
From: Ralf Baechle <>
Date: Fri, 24 Aug 2012 15:23:11 +0200
Cc: Andrew Morton <>, Andrea Arcangeli <>,, Youquan Song <>, Andi Kleen <>, LKML <>,
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
References: <>
User-agent: Mutt/1.5.21 (2010-09-15)
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.


<Prev in Thread] Current Thread [Next in Thread>