Andrei Warkentin d01035767e
notdirty_write: fix store-related performance problems
Every store would always cause the tb_invalidate_phys_page_fast path to be invoked,
amounting to a 40x slowdown of stores compared to loads.

Change this code to only worry about TB invalidation for regions marked as
executable (i.e. emulated executable).

Even without uc_set_native_thunks, this change fixes most of the performance
issues seen with thunking to native calls.

Signed-off-by: Andrei Warkentin <andrei.warkentin@intel.com>
2024-09-21 20:50:43 +08:00
..
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00
2024-01-24 23:41:30 +01:00
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00
2024-02-13 19:09:35 +08:00
2021-10-03 22:14:44 +08:00
2022-02-12 18:22:56 +01:00
2023-07-11 11:51:44 +02:00
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00