[PATCH net-next v15 11/14] net: add SO_DEVMEM_DONTNEED setsockopt to release RX frags
Pavel Begunkov
asml.silence at gmail.com
Tue Jul 2 14:56:46 UTC 2024
On 6/28/24 01:32, Mina Almasry wrote:
> Add an interface for the user to notify the kernel that it is done
> reading the devmem dmabuf frags returned as cmsg. The kernel will
> drop the reference on the frags to make them available for reuse.
>
> Signed-off-by: Willem de Bruijn <willemb at google.com>
> Signed-off-by: Kaiyuan Zhang <kaiyuanz at google.com>
> Signed-off-by: Mina Almasry <almasrymina at google.com>
Same, lost tag from v13
Reviewed-by: Pavel Begunkov <asml.silence at gmail.com>
And, as a follow up, would be great to clean up the loop.
Helper functions and "continue" should help to bring the
indention down.
--
Pavel Begunkov
More information about the dri-devel
mailing list