Skip to content
Commit 18108860 authored by Carlo Caione's avatar Carlo Caione Committed by Andrew Boie
Browse files

aarch64: mmu: Avoid creating a new table when not needed



In the current MMU code a new table is created when mapping a memory
region that is overlapping with a block already mapped. The problem is
that the new table is created also when the new and old mappings have
the same attributes.

To avoid using a new table when not needed the attributes of the two
mappings are compared before creating the new table.

Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
parent 1cc60aac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment