Skip to content
  • Denis V. Lunev's avatar
    4196d2f0
    block: minimal bounce buffer alignment · 4196d2f0
    Denis V. Lunev authored
    
    
    The patch introduces new concept: minimal memory alignment for bounce
    buffers. Original so called "optimal" value is actually minimal required
    value for aligment. It should be used for validation that the IOVec
    is properly aligned and bounce buffer is not required.
    
    Though, from the performance point of view, it would be better if
    bounce buffer or IOVec allocated by QEMU will be aligned stricter.
    
    The patch does not change any alignment value yet.
    
    Signed-off-by: default avatarDenis V. Lunev <den@openvz.org>
    Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
    Message-id: 1431441056-26198-2-git-send-email-den@openvz.org
    CC: Paolo Bonzini <pbonzini@redhat.com>
    Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
    CC: Stefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    4196d2f0
    block: minimal bounce buffer alignment
    Denis V. Lunev authored
    
    
    The patch introduces new concept: minimal memory alignment for bounce
    buffers. Original so called "optimal" value is actually minimal required
    value for aligment. It should be used for validation that the IOVec
    is properly aligned and bounce buffer is not required.
    
    Though, from the performance point of view, it would be better if
    bounce buffer or IOVec allocated by QEMU will be aligned stricter.
    
    The patch does not change any alignment value yet.
    
    Signed-off-by: default avatarDenis V. Lunev <den@openvz.org>
    Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
    Message-id: 1431441056-26198-2-git-send-email-den@openvz.org
    CC: Paolo Bonzini <pbonzini@redhat.com>
    Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
    CC: Stefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Loading