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

2012-08-24 Thread Ralf Baechle
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

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

2012-08-24 Thread Ralf Baechle
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

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

2012-08-21 Thread Jovi Zhang
>From 3dc19ea2b535719d0b4177f17bbbff9cbf257b23 Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Wed, 22 Aug 2012 10:34:08 +0800 Subject: [PATCH] MIPS/mm: add compound tail page _mapcount when mapped see commit b6999b191 which target for x86 mm/gup, let it align with mips architecture. Quote f

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

2012-08-21 Thread Jovi Zhang
From 3dc19ea2b535719d0b4177f17bbbff9cbf257b23 Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Wed, 22 Aug 2012 10:34:08 +0800 Subject: [PATCH] MIPS/mm: add compound tail page _mapcount when mapped see commit b6999b191 which target for x86 mm/gup, let it align with mips