Re: [Qemu-devel] [PATCH] exec: avoid unnecessary cacheline bounce on ram_list.mru_block

2015-11-03 Thread Michael Tokarev
22.10.2015 14:51, Paolo Bonzini write: > 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. Applied to -trivial. A good one! :) /mjt

[Qemu-devel] [PATCH] exec: avoid unnecessary cacheline bounce on ram_list.mru_block

2015-10-22 Thread Paolo Bonzini
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 Signed-off-by: Paolo Bonzini --- exec.c | 2 +- 1 file changed,