From: Jovi Zhang Date: Wed, 22 Aug 2012 02:34:08 +0000 (+0800) Subject: MIPS: mm: Add compound tail page _mapcount when mapped X-Git-Tag: v3.6-rc7~6^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af89fa3986b9d034a286544ab1ed95096496a2f9;p=pandora-kernel.git MIPS: mm: Add compound tail page _mapcount when mapped See commit b6999b191 which did the same modification for x86's mm/gup, 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." [ralf@linux-mips.org: fixed rejects caused by the original patch getting linewrapped.] Signed-off-by: Jovi Zhang Cc: Youquan Song Cc: Andi Kleen Cc: Patchwork: https://patchwork.linux-mips.org/patch/4291/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed