xen: patch to batch pvh/dom0 mem mapping#181
Conversation
bleggett
left a comment
There was a problem hiding this comment.
looks good to me and makes logical sense but I'm not an MMU expert.
|
I rewrote the patch to another branch, and attempted to simplify it more: https://github.com/edera-dev/linux-upstream/commits/alexm/mmap_batch_v2/ more recent two commits contain the changes, and in them I addressed the above comments |
Notably, with a more minimal change, reusing EDIT Actually, my base latencies went up, so the above statement is not true. With this diff it is still 88ms, so we can arguably keep the smaller patch. |
e9dc33b to
ce3da7c
Compare
|
Pushed the v2 edits to simplify the patch, and split into two separate ones for easier reading. |
ce3da7c to
53d09a3
Compare
Oh good news, SGTM then! |
53d09a3 to
967202f
Compare
added to improve performance of PVH dom0 mapping in domU memory, esp. during zone launches Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
967202f to
856fa79
Compare
Addresses some of the latency costs identified in https://github.com/edera-dev/protect/issues/1890
Tested on native dell desktop and was measured to improve performance of zone launches by ~37ms.