Files
xemu/include/exec
hongmianquan 544cff46c0 memory: avoid updating ioeventfds for some address_space
When updating ioeventfds, we need to iterate all address spaces,
but some address spaces do not register eventfd_add|del call when
memory_listener_register() and they do nothing when updating ioeventfds.
So we can skip these AS in address_space_update_ioeventfds().

The overhead of memory_region_transaction_commit() can be significantly
reduced. For example, a VM with 8 vhost net devices and each one has
64 vectors, can reduce the time spent on memory_region_transaction_commit by 20%.

Message-ID: <20230830032906.12488-1-hongmianquan@bytedance.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: hongmianquan <hongmianquan@bytedance.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
2023-09-19 10:44:44 +02:00
..
2023-06-05 12:04:29 -07:00
2023-06-05 12:04:29 -07:00
2023-06-05 12:04:29 -07:00
2023-06-05 12:04:29 -07:00
2023-06-05 12:04:29 -07:00
2023-08-31 19:46:43 +02:00
2023-05-23 16:47:03 +02:00