diff options
author | Max Chou <max.chou@sifive.com> | 2024-06-20 16:22:20 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2024-06-24 10:15:23 +0100 |
commit | fce3d48038e9f38e3e342a59f76c7f9f9b043ed2 (patch) | |
tree | 575744e007e6647e569f465b4125bdea8ae9e38e /target/s390x | |
parent | ca7d7f4276d4fd4711b693a78fec79652cf2ffc5 (diff) |
accel/tcg: Avoid unnecessary call overhead from qemu_plugin_vcpu_mem_cb
If there are not any QEMU plugin memory callback functions, checking
before calling the qemu_plugin_vcpu_mem_cb function can reduce the
function call overhead.
Signed-off-by: Max Chou <max.chou@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-Id: <20240613175122.1299212-2-max.chou@sifive.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240620152220.2192768-13-alex.bennee@linaro.org>
Diffstat (limited to 'target/s390x')
0 files changed, 0 insertions, 0 deletions