linux-mips
[Top] [All Lists]

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

To: Jovi Zhang <bookjovi@gmail.com>
Subject: Re: [PATCH] MIPS/mm: add compound tail page _mapcount when mapped
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 24 Aug 2012 15:23:11 +0200
Cc: Andrew Morton <akpm@linux-foundation.org>, Andrea Arcangeli <aarcange@redhat.com>, linux-mips@linux-mips.org, Youquan Song <youquan.song@intel.com>, Andi Kleen <andi@firstfloor.org>, LKML <linux-kernel@vger.kernel.org>, stable@vger.kernel.org
In-reply-to: <CACV3sb+nocqeDiM+4m+hv1ygu=KAxD6CpR5wQmawkKMdAuXbgA@mail.gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <CACV3sb+nocqeDiM+4m+hv1ygu=KAxD6CpR5wQmawkKMdAuXbgA@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
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.

  Ralf

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