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

[ARM] pass vma for flush_anon_page()



Since get_user_pages() may be used with processes other than the
current process and calls flush_anon_page(), flush_anon_page() has to
cope in some way with non-current processes.

It may not be appropriate, or even desirable to flush a region of
virtual memory cache in the current process when that is different to
the process that we want the flush to occur for.

Therefore, pass the vma into flush_anon_page() so that the architecture
can work out whether the 'vmaddr' is for the current process or not.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent e47c222b
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