Date: Sun, 11 Dec 2022 02:47:55 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ebdf27b6f367 - main - uipc: remove accept_mtx Message-ID: <202212110247.2BB2ltrm089923@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=ebdf27b6f367773d7d8d219896198d84f6e69904 commit ebdf27b6f367773d7d8d219896198d84f6e69904 Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2022-12-11 02:47:07 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2022-12-11 02:47:07 +0000 uipc: remove accept_mtx It is unused since 779f106aa169256b ("Listening sockets improvements.") Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/kern/uipc_socket.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 7e1d2c910dbd..6c09b14c4f72 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -251,13 +251,6 @@ static int numopensockets; SYSCTL_INT(_kern_ipc, OID_AUTO, numopensockets, CTLFLAG_RD, &numopensockets, 0, "Number of open sockets"); -/* - * accept_mtx locks down per-socket fields relating to accept queues. See - * socketvar.h for an annotation of the protected fields of struct socket. - */ -struct mtx accept_mtx; -MTX_SYSINIT(accept_mtx, &accept_mtx, "accept", MTX_DEF); - /* * so_global_mtx protects so_gencnt, numopensockets, and the per-socket * so_gencnt field.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212110247.2BB2ltrm089923>