Searched hist:"6 a6447fe252e2f1c48d6e8cc1bd36515852e8040" (Results 1 – 1 of 1) sorted by relevance
/qemu/system/ |
H A D | dirtylimit.c | 6a6447fe252e2f1c48d6e8cc1bd36515852e8040 Fri Apr 28 10:33:28 UTC 2023 Richard Henderson <richard.henderson@linaro.org> softmmu: Tidy dirtylimit_dirty_ring_full_time
Drop inline marker: let compiler decide.
Change return type to uint64_t: this matches the computation in the return statement and the local variable assignment in the caller.
Rename local to dirty_ring_size_MB to fix typo. Simplify conversion to MiB via qemu_target_page_bits and right shift.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|