Statistics
| Branch: | Revision:

root / include / exec @ 2dbafdc0

Name Size
  user
address-spaces.h 917 Bytes
cpu-all.h 14.5 kB
cpu-common.h 3.7 kB
cpu-defs.h 6.9 kB
cputlb.h 1.9 kB
def-helper.h 8.5 kB
exec-all.h 13 kB
gdbstub.h 2.5 kB
gen-icount.h 1.7 kB
hwaddr.h 457 Bytes
ioport.h 2.4 kB
memory-internal.h 866 Bytes
memory.h 37.1 kB
poison.h 1.7 kB
ram_addr.h 5.1 kB
softmmu-semi.h 2.2 kB
softmmu_exec.h 3.4 kB
softmmu_header.h 5.5 kB
softmmu_template.h 16.8 kB
spinlock.h 1.6 kB

Latest revisions

# Date Author Comment
5ff7fb77 01/13/2014 03:04 pm Juan Quintela

memory: move bitmap synchronization to its own function

We want to have all the functions that handle directly the dirty
bitmap near. We will change it later.

Signed-off-by: Juan Quintela <>
Reviewed-by: Orit Wasserman <>

ae2810c4 01/13/2014 03:04 pm Juan Quintela

memory: syncronize kvm bitmap using bitmaps operations

If bitmaps are aligned properly, use bitmap operations. If they are
not, just use old bit at a time code.

Signed-off-by: Juan Quintela <>
Reviewed-by: Orit Wasserman <>

94833c89 01/13/2014 03:04 pm Juan Quintela

memory: cpu_physical_memory_get_dirty() is used as returning a bool

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

ace694cc 01/13/2014 03:04 pm Juan Quintela

memory: s/mask/clear/ cpu_physical_memory_mask_dirty_range

Now all functions use the same wording that bitops/bitmap operations

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

1bafff0c 01/13/2014 03:04 pm Juan Quintela

memory: use find_next_bit() to find dirty bits

This operation is way faster than doing it bit by bit.

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

5b9a3a5f 01/13/2014 03:04 pm Juan Quintela

memory: cpu_physical_memory_set_dirty_range() now uses bitmap operations

We were setting a range of bits, so use bitmap_set().

Note: xen has always been wrong, and should have used start instead
of addr from the beginning.

Signed-off-by: Juan Quintela <>...

a461e389 01/13/2014 03:04 pm Juan Quintela

memory: cpu_physical_memory_clear_dirty_range() now uses bitmap operations

We were clearing a range of bits, so use bitmap_clear().

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

a2cd8c85 01/13/2014 03:04 pm Juan Quintela

memory: s/dirty/clean/ in cpu_physical_memory_is_dirty()

All uses except one really want the other meaning.

Signed-off-by: Juan Quintela <>
Reviewed-by: Eric Blake <>
Reviewed-by: Orit Wasserman <>

a2f4d5be 01/13/2014 03:04 pm Juan Quintela

memory: make cpu_physical_memory_reset_dirty() take a length parameter

We have an end parameter in all the callers, and this make it coherent
with the rest of cpu_physical_memory_* functions, that also take a
length parameter.

Once here, move the start/end calculation to...

220c3ebd 01/13/2014 03:04 pm Juan Quintela

memory: split cpu_physical_memory_* functions to its own include

All the functions that use ram_addr_t should be here.

Signed-off-by: Juan Quintela <>
Reviewed-by: Orit Wasserman <>

View revisions

Also available in: Atom