Memory core space reduction
This is the current memory queue (posted as two separate series before my vacation). When applied, the overhead of 16 bytes/page is reduced to basically nil.
Please pull from:
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/core
v2: fix memory corruption in first patch
----------------------------------------------------------------
Avi Kivity (30):
ioport: change portio_list not to use memory_region_set_offset()
memory: remove memory_region_set_offset()
memory: add shorthand for invoking a callback on all listeners
memory: switch memory listeners to a QTAILQ
memory: code motion: move MEMORY_LISTENER_CALL()
memory: move ioeventfd ops to MemoryListener
memory: add a readonly attribute to MemoryRegionSection
memory: don't pass ->readable attribute tocpu_register_physical_memory_log
memory: use a MemoryListener for core memory map updates too
memory: drop AddressSpaceOps
memory: allow MemoryListeners to observe a specific address space
xen: ignore I/O memory regions
memory: split memory listener for the two address spaces
memory: support stateless memory listeners
memory: change memory registration to rebuild the memory map on
each change
memory: remove first level of l1_phys_map
memory: unify phys_map last level with intermediate levels
memory: store MemoryRegionSection pointers in phys_map
memory: compress phys_map node pointers to 16 bits
memory: fix RAM subpages in newly initialized pages
memory: unify the two branches of cpu_register_physical_memory_log()
memory: move tlb flush to MemoryListener commit callback
memory: make phys_page_find() return a MemoryRegionSection
memory: give phys_page_find() its own tree search loop
memory: simplify multipage/subpage registration
memory: replace phys_page_find_alloc() with phys_page_set()
memory: switch phys_page_set() to a recursive implementation
memory: change phys_page_set() to set multiple pages
memory: unify PhysPageEntry::node and ::leaf
memory: allow phys_map tree paths to terminate early
exec-obsolete.h | 5 +- exec.c | 875 ++++++++++++++++++++++++++++++++++++------------------- hw/vhost.c | 33 ++- ioport.c | 28 ++- ioport.h | 1 + kvm-all.c | 97 ++++++- memory.c | 328 +++++++++------------- memory.h | 26 +- xen-all.c | 33 ++- 9 files changed, 912 insertions(+), 514 deletions(-)
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 7 lines · Avi Kivity
This is the current memory queue (posted as two separate series before my vacation). When applied, the overhead of 16 bytes/page is reduced to basically nil.
Please pull from:
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gitmemory/core
Pulled. Thanks.
Regards,
Anthony Liguori
Quoted 50 lines
v2: fix memory corruption in first patch
----------------------------------------------------------------
Avi Kivity (30):
ioport: changeportio_listnot to usememory_region_set_offset()
memory: removememory_region_set_offset()
memory: add shorthand for invoking a callback on all listeners
memory: switch memory listeners to a QTAILQ
memory: code motion: moveMEMORY_LISTENER_CALL()
memory: move ioeventfd ops to MemoryListener
memory: add a readonly attribute to MemoryRegionSection
memory: don't pass ->readable attribute tocpu_register_physical_memory_log
memory: use a MemoryListener for core memory map updates too
memory: drop AddressSpaceOps
memory: allow MemoryListeners to observe a specific address space
xen: ignore I/O memory regions
memory: split memory listener for the two address spaces
memory: support stateless memory listeners
memory: change memory registration to rebuild the memory map on
each change
memory: remove first level ofl1_phys_map
memory: unifyphys_maplast level with intermediate levels
memory: store MemoryRegionSection pointers inphys_map
memory: compressphys_mapnode pointers to 16 bits
memory: fix RAM subpages in newly initialized pages
memory: unify the two branches ofcpu_register_physical_memory_log()
memory: move tlb flush to MemoryListener commit callback
memory: makephys_page_find()return a MemoryRegionSection
memory: givephys_page_find()its own tree search loop
memory: simplify multipage/subpage registration
memory: replacephys_page_find_alloc()withphys_page_set()
memory: switchphys_page_set()to a recursive implementation
memory: changephys_page_set()to set multiple pages
memory: unifyPhysPageEntry::nodeand ::leaf
memory: allowphys_maptree paths to terminate earlyexec-obsolete.h | 5 +- exec.c | 875 ++++++++++++++++++++++++++++++++++++------------------- hw/vhost.c | 33 ++- ioport.c | 28 ++- ioport.h | 1 + kvm-all.c | 97 ++++++- memory.c | 328 +++++++++------------- memory.h | 26 +- xen-all.c | 33 ++- 9 files changed, 912 insertions(+), 514 deletions(-)