commit | 68851b98e5bf6d397498b74f1776801274ab8d48 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 22 13:51:30 2015 +0200 |
committer | Michael Tokarev <mjt@tls.msk.ru> | Fri Nov 06 15:42:38 2015 +0300 |
tree | d773342247525f12874ae07ef39844bf2dd24558 | |
parent | 74de807f794ac5201b2b3c38ddadeef84a676a97 [diff] |
exec: avoid unnecessary cacheline bounce on ram_list.mru_block Whenever the MRU cache hits for the list of RAM blocks, qemu_get_ram_block does an unnecessary write that causes a processor cache line to bounce from one core to another. This causes a performance hit. Reported-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>