Re: [PATCH net-next v4 4/9] net: devmem: make dmabuf unbinding scheduled work

2025-02-20 Thread Stanislav Fomichev
On 02/20, Mina Almasry wrote: > The TX path may release the dmabuf in a context where we cannot wait. > This happens when the user unbinds a TX dmabuf while there are still > references to its netmems in the TX path. In that case, the netmems will > be put_netmem'd from a context where we can't unm

[PATCH net-next v4 4/9] net: devmem: make dmabuf unbinding scheduled work

2025-02-19 Thread Mina Almasry
The TX path may release the dmabuf in a context where we cannot wait. This happens when the user unbinds a TX dmabuf while there are still references to its netmems in the TX path. In that case, the netmems will be put_netmem'd from a context where we can't unmap the dmabuf, resulting in a BUG like