x86/mm/gup: Switch GUP to the generic get_user_page_fast() implementation
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 16 Mar 2017 21:39:06 +0000 (00:39 +0300)
committerIngo Molnar <mingo@kernel.org>
Sat, 18 Mar 2017 08:48:03 +0000 (09:48 +0100)
commit2947ba054a4dabbd82848728d765346886050029
tree33f5aa9089e59c49fc531813d59c50074f729098
parent73e10a61817dfc97fe7418bfad1f608e562d7348
x86/mm/gup: Switch GUP to the generic get_user_page_fast() implementation

This patch provides all required callbacks required by the generic
get_user_pages_fast() code and switches x86 over - and removes
the platform specific implementation.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Aneesh Kumar K . V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dann Frazier <dann.frazier@canonical.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Steve Capper <steve.capper@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arch@vger.kernel.org
Cc: linux-mm@kvack.org
Link: http://lkml.kernel.org/r/20170316213906.89528-1-kirill.shutemov@linux.intel.com
[ Minor readability edits. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
12 files changed:
arch/arm/Kconfig
arch/arm64/Kconfig
arch/powerpc/Kconfig
arch/x86/Kconfig
arch/x86/include/asm/mmu_context.h
arch/x86/include/asm/pgtable-3level.h
arch/x86/include/asm/pgtable.h
arch/x86/include/asm/pgtable_64.h
arch/x86/mm/Makefile
arch/x86/mm/gup.c [deleted file]
mm/Kconfig
mm/gup.c