af_unix: Remove io_uring code for GC.
commit 11498715 upstream. Since commit 705318a9 ("io_uring/af_unix: disable sending io_uring over sockets"), io_uring's unix socket cannot be passed via SCM_RIGHTS, so it does not contribute to cyclic reference and no longer be candidate for garbage collection. Also, commit 6e5e6d27 ("io_uring: drop any code related to SCM_RIGHTS") cleaned up SCM_RIGHTS code in io_uring. Let's do it in AF_UNIX as well by reverting commit 0091bfc8 ("io_uring/af_unix: defer registered files gc to io_uring release") and commit 10369080 ("net: reclaim skb->scm_io_uring bit"). Signed-off-by:Kuniyuki Iwashima <kuniyu@amazon.com> Acked-by:
Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/r/20240129190435.57228-3-kuniyu@amazon.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
Lee Jones <lee@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
-
mentioned in commit 7294b9ad
-
mentioned in commit f045ee6a
-
mentioned in commit 8c44e83e
-
mentioned in commit 3383181a
-
mentioned in commit 098fb94e
-
mentioned in commit 0d53bc13
-
mentioned in commit 3c1c6d95
-
mentioned in commit 909e52c0
-
mentioned in commit b6c781b8
-
mentioned in commit 50b92bba
-
mentioned in commit d3b5cba5
-
mentioned in commit 98aebd30
Please sign in to comment