linux/arch/mips/mm
Jovi Zhang af89fa3986 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 <boojovi@gmail.com>
Cc: Youquan Song <youquan.song@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: <stable@vger.kernel.org>
Patchwork: https://patchwork.linux-mips.org/patch/4291/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2012-08-27 16:10:21 +02:00
..
Makefile MIPS: Refactor 'clear_page' and 'copy_page' functions. 2012-07-19 11:23:43 +02:00
c-octeon.c MIPS: Octeon: Use board_cache_error_setup for cache error handler setup. 2012-05-16 23:34:33 +02:00
c-r3k.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
c-r4k.c MIPS: Fix decoding of c0_config1 for MIPSxx caches with 32 ways per set. 2012-07-19 11:23:43 +02:00
c-tx39.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
cache.c MIPS: cache: Provide cache flush operations for XFS 2011-10-20 15:00:18 +01:00
cerr-sb1.c MIPS: Sibyte: Use hweight8 instead of counting bits 2009-12-17 01:57:16 +00:00
cex-gen.S
cex-oct.S MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon. 2009-01-11 09:57:21 +00:00
cex-sb1.S Fix common misspellings 2011-03-31 11:26:23 -03:00
dma-default.c MIPS: adapt for dma_map_ops changes 2012-03-28 16:36:32 +02:00
extable.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
fault.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
gup.c MIPS: mm: Add compound tail page _mapcount when mapped 2012-08-27 16:10:21 +02:00
highmem.c highmem: kill all __kmap_atomic() 2012-03-20 21:48:30 +08:00
hugetlbpage.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
init.c mips: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:14 +08:00
ioremap.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mmap.c MIPS: Trivial style cleanups in mmap.c 2011-09-17 02:37:04 +02:00
page-funcs.S MIPS: Refactor 'clear_page' and 'copy_page' functions. 2012-07-19 11:23:43 +02:00
page.c MIPS: Refactor 'clear_page' and 'copy_page' functions. 2012-07-19 11:23:43 +02:00
pgtable-32.c MIPS: Limit fixrange_init() to the FIXMAP region 2011-07-25 17:26:54 +01:00
pgtable-64.c MIPS: Limit fixrange_init() to the FIXMAP region 2011-07-25 17:26:54 +01:00
sc-ip22.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
sc-mips.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
sc-r5k.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
sc-rm7k.c MIPS: RM7000: Symbol should be static 2010-10-04 18:33:54 +01:00
tlb-r3k.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
tlb-r4k.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
tlb-r8k.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
tlbex-fault.S [MIPS] Stacktrace build-fix and improvement 2006-10-01 23:16:58 +01:00
tlbex.c MIPS: Add support for the M14Kc core. 2012-07-06 23:56:00 +02:00
uasm.c MIPS: Fixup ordering of micro assembler instructions. 2012-07-23 13:55:56 +01:00