Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/mem-sharing: ensure consistent lock order in get_two_gfns()
While the comment validly says "Sort by domain, if same domain by gfn", the implementation also included equal domain IDs in the first part of the check, thus rending the second part entirely dead and leaving deadlock potential when there's only a single domain involved. Signed-off-by: Jan Beulich <[email protected]> Acked-by: Tamas K Lengyel <[email protected]>
- Loading branch information