]> git.proxmox.com Git - qemu.git/commit - arch_init.c
exec: change ramlist from MRU order to a 1-item cache
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 Nov 2012 14:45:02 +0000 (15:45 +0100)
committerJuan Quintela <quintela@redhat.com>
Thu, 20 Dec 2012 22:08:40 +0000 (23:08 +0100)
commit0d6d3c87a232cc27641dde3491d75c8021745d02
tree7868a1d6e1818cb15f0c3543dd3d02d5ea6fb8ba
parent803ef03257a9ee375f08ca7a89e009ea12bc17a4
exec: change ramlist from MRU order to a 1-item cache

Most of the time, only 2 items will be active (from/to for a string operation,
or code/data).  But TCG guests likely won't have gigabytes of memory, so
this actually goes down to 1 item.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
arch_init.c
exec.c
include/exec/cpu-all.h