]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'af_unix-gc-cleanup-and-optimisation'
authorJakub Kicinski <kuba@kernel.org>
Wed, 19 Nov 2025 03:19:34 +0000 (19:19 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 19 Nov 2025 03:19:34 +0000 (19:19 -0800)
commitcbf4d314acef1b24194a190cd7abb53f93062820
tree806c03df24aa522a3dc108cbecddb2e12c2adb18
parentf83e0e0b63fe57801d22750e31a0afb5403b3d02
parent24fa77dad25c2f55cc4615c09df2201ef72c66f4
Merge branch 'af_unix-gc-cleanup-and-optimisation'

Kuniyuki Iwashima says:

====================
af_unix: GC cleanup and optimisation.

Currently, AF_UNIX GC is triggered from close() and sendmsg()
based on the number of inflight AF_UNIX sockets.

This is because the old GC implementation had no idea of the
shape of the graph formed by SCM_RIGHTS references.

The new GC knows whether cyclic references (could) exist.

This series refines such conditions not to trigger GC unless
really needed.
====================

Link: https://patch.msgid.link/20251115020935.2643121-1-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>