]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: change split_huge_page_pmd() interface
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 29 Nov 2012 03:17:36 +0000 (14:17 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:15 +0000 (16:23 +1100)
commit003fe2a61ab0632dd7a8f81fe94574f935ac6d66
treefb13fb5b23c2d345fa87b5f2986c62bf1ae81ac7
parent276ef5758e80ccaf3242026fe5a2dd0c5c686108
thp: change split_huge_page_pmd() interface

Pass vma instead of mm and add address parameter.

In most cases we already have vma on the stack. We provides
split_huge_page_pmd_mm() for few cases when we have mm, but not vma.

This change is preparation to huge zero pmd splitting implementation.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: "H. Peter Anvin" <hpa@linux.intel.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/vm/transhuge.txt
arch/x86/kernel/vm86_32.c
fs/proc/task_mmu.c
include/linux/huge_mm.h
mm/huge_memory.c
mm/memory.c
mm/mempolicy.c
mm/mprotect.c
mm/mremap.c
mm/pagewalk.c