qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 0/5] virtio-mem: block size and address-assignment optimiz


From: David Hildenbrand
Subject: Re: [PATCH v1 0/5] virtio-mem: block size and address-assignment optimizations
Date: Fri, 25 Sep 2020 12:16:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 23.09.20 13:38, David Hildenbrand wrote:
> Let's try to detect the actual THP size and use it as default block size
> (unless the page size of the backend is bigger). Handle large block sizes
> better, avoiding a virtio-spec violation and optimizing address
> auto-detection.
> 
> David Hildenbrand (5):
>   virtio-mem: Probe THP size to determine default block size
>   virtio-mem: Check that "memaddr" is multiples of the block size
>   memory-device: Support big alignment requirements
>   memory-device: Add get_min_alignment() callback
>   virito-mem: Implement get_min_alignment()
> 
>  hw/mem/memory-device.c         | 20 ++++---
>  hw/virtio/virtio-mem-pci.c     | 14 +++++
>  hw/virtio/virtio-mem.c         | 95 ++++++++++++++++++++++++++++++++--
>  include/hw/mem/memory-device.h | 11 ++++
>  4 files changed, 130 insertions(+), 10 deletions(-)
> 

Just noticed that spring cleaning due to meson change removed my
cc-cmd.sh script, so adding people manually to the cover for context.

-- 
Thanks,

David / dhildenb




reply via email to

[Prev in Thread] Current Thread [Next in Thread]