diff options
author | Fuad Tabba <tabba@google.com> | 2024-04-23 18:05:23 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2024-05-01 18:48:14 +0300 |
commit | 9c30fc615daa3ef177a5fd4a9b2451697c515ce9 (patch) | |
tree | 1308ed285f6095f279e89e5f63fd5802d1e886ae /arch/arm64/include | |
parent | cc81b6dfc3bc82c3a2600eefbd3823bdb2190197 (diff) | |
download | linux-9c30fc615daa3ef177a5fd4a9b2451697c515ce9.tar.xz |
KVM: arm64: Move setting the page as dirty out of the critical section
Move the unlock earlier in user_mem_abort() to shorten the
critical section. This also helps for future refactoring and
reuse of similar code.
This moves out marking the page as dirty outside of the critical
section. That code does not interact with the stage-2 page
tables, which the read lock in the critical section protects.
Signed-off-by: Fuad Tabba <tabba@google.com>
Acked-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240423150538.2103045-16-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/include')
0 files changed, 0 insertions, 0 deletions