[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] cleanup on page size
From: |
Wei Yang |
Subject: |
[PATCH 0/2] cleanup on page size |
Date: |
Sun, 13 Oct 2019 10:11:43 +0800 |
Patch 1 simplify the definition of xxx_PAGE_ALIGN.
Patch 2 replaces getpagesize() with qemu_real_host_page_size. This one touch a
volume of code. If some point is not correct, I'd appreciate your
notification.
Wei Yang (2):
cpu: use ROUND_UP() to define xxx_PAGE_ALIGN
core: replace getpagesize() with qemu_real_host_page_size
accel/kvm/kvm-all.c | 6 +++---
backends/hostmem.c | 2 +-
block.c | 4 ++--
block/file-posix.c | 9 +++++----
block/io.c | 2 +-
block/parallels.c | 2 +-
block/qcow2-cache.c | 2 +-
contrib/vhost-user-gpu/vugbm.c | 2 +-
exec.c | 6 +++---
hw/intc/s390_flic_kvm.c | 2 +-
hw/ppc/mac_newworld.c | 2 +-
hw/ppc/spapr_pci.c | 2 +-
hw/rdma/vmw/pvrdma_main.c | 2 +-
hw/vfio/spapr.c | 7 ++++---
include/exec/cpu-all.h | 7 +++----
include/exec/ram_addr.h | 2 +-
include/qemu/osdep.h | 4 ++--
migration/migration.c | 2 +-
migration/postcopy-ram.c | 4 ++--
monitor/misc.c | 2 +-
target/ppc/kvm.c | 2 +-
tests/vhost-user-bridge.c | 8 ++++----
util/mmap-alloc.c | 10 +++++-----
util/oslib-posix.c | 4 ++--
util/oslib-win32.c | 2 +-
util/vfio-helpers.c | 12 ++++++------
26 files changed, 55 insertions(+), 54 deletions(-)
--
2.17.1
[PATCH 2/2] core: replace getpagesize() with qemu_real_host_page_size, Wei Yang, 2019/10/13