aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-06-10 13:37:05 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2025-06-12 13:40:16 -0400
commit55243edf42ee87bce9f36ca251f3ab9cda1563e4 (patch)
tree4748e0009d8dd6a29d578fae6cd3c3e77c5fcf06 /hw/avr/arduino.c
parent14997d521d1cd0bb36c902ef1032f0d3f2a3c912 (diff)
downloadqemu-55243edf42ee87bce9f36ca251f3ab9cda1563e4.zip
qemu-55243edf42ee87bce9f36ca251f3ab9cda1563e4.tar.gz
qemu-55243edf42ee87bce9f36ca251f3ab9cda1563e4.tar.bz2
hw/scsi/lsi53c895a: skip automatic zero-init of large array
The 'lsi_memcpy' method has a 4k byte array used for copying data to/from the device. Skip the automatic zero-init of this array to eliminate the performance overhead in the I/O hot path. The 'buf' array will be fully initialized when data is copied. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Message-id: 20250610123709.835102-28-berrange@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions