Skip to content
Commit 10ce13bb authored by Laura Abbott's avatar Laura Abbott Committed by Vijayanand Jitta
Browse files

arm: highmem: Add support for flushing kmap_atomic mappings



The highmem code provides kmap_flush_unused to ensure all kmap
mappings are really removed if they are unused. This code does not
handle kmap_atomic mappings since they are managed separately.
This prevents an issue for any code which relies on having absolutely
no mappings for a particular page. Rather than pay the penalty of
having CONFIG_DEBUG_HIGHMEM on all the time, add functionality
to remove the kmap_atomic mappings in a similar way to kmap_flush_unused.

Change-Id: I9d73abad693c18f2daa1647353e7592b255475b0
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 98055d18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment