wengzhe opened a new pull request, #17802:
URL: https://github.com/apache/nuttx/pull/17802

   ## Summary
   
   Calling `virtio_free_buf` or `kmm_free` inside IRQ may lead to dead lock 
inside `mm_free`, so we use a free list to store the buffer and reuse it next 
time.  Fortunately, NuttX only uses one async buffer at same time, so we don't 
need to consider how to free the buffer because we won't have too many in the 
free list.
   
   ## Impact
   
   Remove free in IRQ to avoid dead lock inside `virtio-gpu`.
   Limited inside `virtio-gpu`, which normally affects graphics on QEMU.
   
   ## Testing
   
   The `lvgldemo` on QEMU works normally (with `virtio-gpu-device`), without 
any mem leak.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to