]> git.karo-electronics.de Git - linux-beck.git/commit
[ARM] copypage: provide our own copy_user_highpage()
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 31 Oct 2008 15:08:35 +0000 (15:08 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 27 Nov 2008 23:53:47 +0000 (23:53 +0000)
commit063b0a4207e43acbeff3d4b09f43e750e0212b48
treeeb2a2c1faa732c763102040478830111fc13f2a5
parentd73e60b7144a86baf0fdfcc9537a70bb4f72e11c
[ARM] copypage: provide our own copy_user_highpage()

We used to override the copy_user_page() function.  However, this
is not only inefficient, it also causes additional complexity for
highmem support, since we convert from a struct page to a kernel
direct mapped address and back to a struct page again.

Moreover, with highmem support, we end up pointlessly setting up
kmap entries for pages which we're going to remap.  So, push the
kmapping down into the copypage implementation files where it's
required.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/page.h
arch/arm/mm/copypage-feroceon.c
arch/arm/mm/copypage-v3.c
arch/arm/mm/copypage-v4mc.c
arch/arm/mm/copypage-v4wb.c
arch/arm/mm/copypage-v4wt.c
arch/arm/mm/copypage-v6.c
arch/arm/mm/copypage-xsc3.c
arch/arm/mm/copypage-xscale.c
arch/arm/mm/proc-syms.c