From nobody Sat Aug 26 19:12:40 2023 X-Original-To: dev-commits-src-main@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 4RY6091pynz4qtRC; Sat, 26 Aug 2023 19:12:41 +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 4RY6086pfgz4JVF; Sat, 26 Aug 2023 19:12:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693077161; 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=+X/XxVSRDpHW5ddojTfQlfsilgscs1SHmizM0QyRHRM=; b=H4hdT5nqE9huyx0/t2RKtiFG2EYMZFiDjWjbDSpP4JsDv97egsbOyZdin+YR/y5lsh7gmE bBjNuDE+Dgbs+51iUbuX6FZpyj7aYNjoyx0w5ly5h5qwVdiumaG/cuAn/bUpNYBYOGIJ7F HTZPo/gjaAlXuUsOp1H5dMmmWnuQkmI/cX9g1OjiwPmSdzYxn/rKAMKrv+Y+VEaHNXM/pu CsS7Ap/WFScvEf2o7vP7U570kP3hI3+554PStc5jwv//YRNURiDp8CgW/2z1FjT3JsM9R5 APkYkHErbx/G1p0UaiMNZp91cUMWeE2SOg7/MYti7ApoePuTvZ3Ne9uWeRBMuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693077161; 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=+X/XxVSRDpHW5ddojTfQlfsilgscs1SHmizM0QyRHRM=; b=TjBrIHCHaZ8I+fkUfw5vGQJpEmVGbAqLLcHm7+wsXPz6yjA4Z9EJ/LU7ZwVRo/CHGjlDAu gdI4eb/UMTL/O+pW5v72ppkhN1RnC0mrLbHb3qL2Nx1MCY/vrxfV2OTSAKodtdJZIOy3BF 6aCj2pOsh6x/TVeAdGUnRx87qZYoUOAvA/79faAG8h33uqpHrYgcRvn6KM1oUQt9zU5HD9 kPADNW8n1qAZFIhHiiSNUzFrW/P8WDP9wfNvA6jEprKMm29u5hBEisYIPtCAa+kvJP4GC1 pPNoMxTgKOMp9FMbTMFfryJ5q+Hvuk9CB21TS5ADSymHrpDZ0UBuCO2nqzWgLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693077161; a=rsa-sha256; cv=none; b=iDnIMG7Y9u3A2Z9Q9WBj7+Bg0C90bFVO7nUpNpHqSSwxcM2D2Agsqf1coomTLIQMKEk6fp uPNBs3m7pp2iAPBbZwzyC35L+mUtqRoJb6LIZ5ea2MWCTti/ZKHYKu2O4rkEL75UR7uZLf l1i738U7vGulgz9Fz9ZAXwpA0AmBypvTrmapKvddmpF9UapI72lajhJjqDibmF50vYNzWL jzUTjzxdG4iUpAFAxZ69oPeAy0t5QQ7zVj9V9stzjQivIWzGvKpvdf6SvPme/o+rAgI0H/ 7uqPEvbSDfa5mkM7h7mzg4IRgnUpHYCf+GuvFB/Okonlzmz5fHa37z4fDHXhwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RY6085tvtzn00; Sat, 26 Aug 2023 19:12:40 +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 37QJCevN063966; Sat, 26 Aug 2023 19:12:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37QJCesb063964; Sat, 26 Aug 2023 19:12:40 GMT (envelope-from git) Date: Sat, 26 Aug 2023 19:12:40 GMT Message-Id: <202308261912.37QJCesb063964@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Robert Wing Subject: git: b3a714652ff0 - main - kqueue(9): sweep references to knlist_remove_inevent() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b3a714652ff00f83b2072caaa1fd8b9699c93789 Auto-Submitted: auto-generated The branch main has been updated by rew: URL: https://cgit.FreeBSD.org/src/commit/?id=b3a714652ff00f83b2072caaa1fd8b9699c93789 commit b3a714652ff00f83b2072caaa1fd8b9699c93789 Author: Robert Wing AuthorDate: 2023-08-26 19:11:50 +0000 Commit: Robert Wing CommitDate: 2023-08-26 19:11:50 +0000 kqueue(9): sweep references to knlist_remove_inevent() knlist_remove_inevent() gone in 9e590ff04b687e910579a5851d95cedf9eb10bfd --- ObsoleteFiles.inc | 3 +++ share/man/man9/Makefile | 1 - share/man/man9/kqueue.9 | 17 ++--------------- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index 47709c00667d..c2780a84eb6d 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -51,6 +51,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20230826: +OLD_FILES+=usr/share/man/man9/knlist_remove_inevent.9.gz + # 20230825: caroot bundle updated OLD_FILES+=usr/share/certs/trusted/E-Tugra_Certification_Authority.pem OLD_FILES+=usr/share/certs/trusted/E-Tugra_Global_Root_CA_ECC_v3.pem diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index eb670c924077..07a107b4bd7d 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1394,7 +1394,6 @@ MLINKS+=kqueue.9 knlist_add.9 \ kqueue.9 knlist_init.9 \ kqueue.9 knlist_init_mtx.9 \ kqueue.9 knlist_remove.9 \ - kqueue.9 knlist_remove_inevent.9 \ kqueue.9 knote_fdclose.9 \ kqueue.9 KNOTE_LOCKED.9 \ kqueue.9 KNOTE_UNLOCKED.9 \ diff --git a/share/man/man9/kqueue.9 b/share/man/man9/kqueue.9 index 28a948481e3e..ddd834bb1807 100644 --- a/share/man/man9/kqueue.9 +++ b/share/man/man9/kqueue.9 @@ -30,7 +30,7 @@ .Nm kqfd_register , .Nm knote_fdclose , .Nm knlist_init , knlist_init_mtx , -.Nm knlist_add , knlist_remove , knlist_remove_inevent , knlist_empty , +.Nm knlist_add , knlist_remove , knlist_empty , .Nm knlist_clear , knlist_delete , knlist_destroy , .Nm KNOTE_LOCKED , KNOTE_UNLOCKED .Nd "event delivery subsystem" @@ -58,8 +58,6 @@ .Fn knlist_add "struct knlist *knl" "struct knote *kn" "int islocked" .Ft void .Fn knlist_remove "struct knlist *knl" "struct knote *kn" "int islocked" -.Ft void -.Fn knlist_remove_inevent "struct knlist *knl" "struct knote *kn" .Ft int .Fn knlist_empty "struct knlist *knl" .Ft void @@ -157,8 +155,7 @@ function will be called to detach the if the .Vt knote has not already been detached by a call to -.Fn knlist_remove , -.Fn knlist_remove_inevent +.Fn knlist_remove or .Fn knlist_delete . The list @@ -186,16 +183,6 @@ The .Va kn_data value should be updated as necessary to reflect the current value, such as number of bytes available for reading, or buffer space available for writing. -If the note needs to be removed, -.Fn knlist_remove_inevent -must be called. -The function -.Fn knlist_remove_inevent -will remove the note from the list, the -.Va f_detach -function will not be called and the -.Vt knote -will not be returned as an event. .Pp Locks .Em must not