aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-06-10 13:36:53 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2025-06-12 13:40:15 -0400
commitce14f24611aa0469b464a9512e192b4fd51dca2b (patch)
tree05bec02e104d284a14a9c09d7867e87296667405 /hw/avr/arduino.c
parent8b1dac1ad57082611419b0e2f347acd96115d25f (diff)
downloadqemu-ce14f24611aa0469b464a9512e192b4fd51dca2b.zip
qemu-ce14f24611aa0469b464a9512e192b4fd51dca2b.tar.gz
qemu-ce14f24611aa0469b464a9512e192b4fd51dca2b.tar.bz2
hw/dma/xlnx_csu_dma: skip automatic zero-init of large array
The 'xlnx_csu_dma_src_notify' method has a 4k byte array used for copying DMA data. 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> Message-id: 20250610123709.835102-16-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