Commit 946fbfd
KVM: arm64: Make leaf->leaf PTE changes parallel-aware
Convert stage2_map_walker_try_leaf() to use the new break-before-make
helpers, thereby making the handler parallel-aware. As before, avoid the
break-before-make if recreating the existing mapping. Additionally,
retry execution if another vCPU thread is modifying the same PTE.
Signed-off-by: Oliver Upton <[email protected]>
Reviewed-by: Ben Gardon <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent 0ab12f3 commit 946fbfd
1 file changed
+12
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
816 | 815 | | |
817 | | - | |
818 | | - | |
| 816 | + | |
| 817 | + | |
819 | 818 | | |
820 | 819 | | |
821 | 820 | | |
| |||
825 | 824 | | |
826 | 825 | | |
827 | 826 | | |
828 | | - | |
829 | | - | |
830 | | - | |
| 827 | + | |
| 828 | + | |
831 | 829 | | |
832 | 830 | | |
833 | 831 | | |
| |||
0 commit comments