Skip to content
Commit 063b0a42 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent d73e60b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment