diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2025-06-10 13:37:04 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2025-06-12 13:40:16 -0400 |
commit | 14997d521d1cd0bb36c902ef1032f0d3f2a3c912 (patch) | |
tree | e643170eb6e7b2c5f20fbb53ae663b0f08d090c0 /hw/avr/arduino.c | |
parent | 5dd9087fff74b5672526cad254e76f790fb35c7a (diff) | |
download | qemu-14997d521d1cd0bb36c902ef1032f0d3f2a3c912.zip qemu-14997d521d1cd0bb36c902ef1032f0d3f2a3c912.tar.gz qemu-14997d521d1cd0bb36c902ef1032f0d3f2a3c912.tar.bz2 |
hw/usb/hcd-ohci: skip automatic zero-init of large array
The 'ohci_service_iso_td' method has a 8k byte array used for copying
data between guest and host. 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 reading data from guest
memory.
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-27-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