From nobody Tue Dec 26 02:08:28 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SzdV50rtDz55Kk4; Tue, 26 Dec 2023 02:08:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SzdV44Q5Lz4SXD; Tue, 26 Dec 2023 02:08:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703556508; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a14LRGT3fwVo+399ZtxpcUx9K1rP04P+qzrT+e1maUw=; b=weW0zC4APAdee5ktGB1DvDwJOYhtJUHinwS8rlpXV366dNcNk/aT1ia1f0oKwfs36OOjH8 3OuxOnGcqPi0Yz2kXOvVJsgsSn88AwVByXkBiLUI+s9xhKh8Uszfo4l/ztLOWHZz4vTnGJ OrN34HLTyIYLSsNyBlG6i2Nb7BNAVZUxBmBYYz3Gs0ygFLh0dWWTidzBtLxSN73ldJVGKp Gel4bbn9CBCSfBC0BYEtRMzlnamDHHQcsZxIplrgrIbosWi/jnWAsWQFOmmg/jgEcPSJVk Icutgc0weCfA326n6vX99LE2xj2yaqn9Fmr1NuJjWxjLsSzSj96h5gPs1pKY8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703556508; a=rsa-sha256; cv=none; b=bknf/ecM3JtwyNuxHCSxZ77dZ6UA3cfPDiwQrB2XevJYuM7WknurtDHHIwQ6BriapuIhor xrgtJxNvHgyQ7GL/k+GmPbYy+nyUQ/7ixyr1ZHvfvCpzbv/r4ExZ6QtCRk1HQ0EcJS+xLK wfxSn2K2kibSbv1yoj9ecWPtF0SRHoocRu4C60e+mbJ+6r3GhZg+m+cgBvCyPOHS3248me THm7GSWUpb7A4dzA2Kte42zipHeUSGLrvku7F5bgYHgNaYAGvJxZfB8cKWVsiobqmnduzK buVe5r3mhM72VotWZIrZiMqlv/1s15epVWmnizJpl14smfRP0Tn7Ptl2qfzJjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703556508; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a14LRGT3fwVo+399ZtxpcUx9K1rP04P+qzrT+e1maUw=; b=HJoee7Eb0IRKLyj+tCcEpcrM82/PAtRlLpBImVBgI3Y5Y+F5jWnCxG/QD3X2pwJynfl1uI 4LLiiQQ1JQWJXi92NYcSh5dA2bAJ+vwZGlbKJkP45DvF1g1BqhWNLImJkJxULq8yh3bOA9 aWuflY4v0uMrVGkfqnRehqVwq42QiE6yd5DCU8uaPU3xDrQqROBpZ1n8lSYvwr4ZD//6AN WJTnmD2+7qZfHmo//m5WtFUQKNU9Xj85V9hJpO5YSgoUtsAOHynfuFQECUxFKHCFlTv57g aKlq5wEvrzpQ+AfcRKTRaRisCh09sUS1PlKxylVaVuJBpgW73RR2MOli+o8AMQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SzdV43SgLzbx6; Tue, 26 Dec 2023 02:08:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BQ28SRg004812; Tue, 26 Dec 2023 02:08:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BQ28S0m004809; Tue, 26 Dec 2023 02:08:28 GMT (envelope-from git) Date: Tue, 26 Dec 2023 02:08:28 GMT Message-Id: <202312260208.3BQ28S0m004809@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 3c77aabc7396 - stable/14 - kqueue.9: Update the description of knlist_clear() List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 3c77aabc739659a09c01368c362a5f8073ab9bf9 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=3c77aabc739659a09c01368c362a5f8073ab9bf9 commit 3c77aabc739659a09c01368c362a5f8073ab9bf9 Author: Mark Johnston AuthorDate: 2023-12-12 14:35:48 +0000 Commit: Mark Johnston CommitDate: 2023-12-25 16:58:27 +0000 kqueue.9: Update the description of knlist_clear() knlist_clear() does not free knotes and so does not call fdrop(), so remove the bit of the function description which claims otherwise. (The knote will be dropped by the next queue scan, and it is at that point that the fd reference will be dropped.) MFC after: 1 week (cherry picked from commit 604de40a024c760df5db542171d3953493f56bfb) --- share/man/man9/kqueue.9 | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/share/man/man9/kqueue.9 b/share/man/man9/kqueue.9 index 28a948481e3e..2f08d369191c 100644 --- a/share/man/man9/kqueue.9 +++ b/share/man/man9/kqueue.9 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 20, 2022 +.Dd December 18, 2023 .Dt KQUEUE 9 .Os .Sh NAME @@ -333,16 +333,6 @@ The function will be called when the .Vt knote is deleted during the next scan. -This function must not be used when -.Va f_isfd -is set in -.Vt "struct filterops" , -as the -.Fa td -argument of -.Fn fdrop -will be -.Dv NULL . .Pp The function .Fn knlist_delete