From nobody Sat Aug 20 17:34:55 2022 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 4M95Nb5tMQz4ZpXp; Sat, 20 Aug 2022 17:34:55 +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 4M95Nb4Q1Wz3XdD; Sat, 20 Aug 2022 17:34:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661016895; 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=1xvZUjI8JFfkfGLhJQyoqCV19RB3LomA29dkSVG9Kos=; b=Oc4ZF0pninOLvrc53eZlZBVqH3fGqGpfjMLz8R4fl4F0ay+DLOjvqsT63sb9vzMmGrxyfF PhShaf1cglBp0IZG2N+ahih7gnOtVukUOYbAcxk9+cuq2qMgnntkyhDP/T6JpAa2/Bn8Ao X7lte7R97NLwgJi2PMFimxFF+TH1GHu/lwqSNu+gYCSb/FTZtJH527D0aBsBjlpAqFT2oa oNfiVLzcFh/I+OzvDfFj0bkA6nAiL8rzUHqC7X8AwKi+1E31GkmgC9aG0vtYIqx5K+ypoG FZIwvXZ0feClDomsfnTDZ4nk1r0UTmC9KAiocG6K50RWSSIvrAV5ps1tyQcQaw== 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 4M95Nb3Q43zgcN; Sat, 20 Aug 2022 17:34:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27KHYth2093368; Sat, 20 Aug 2022 17:34:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27KHYtQY093367; Sat, 20 Aug 2022 17:34:55 GMT (envelope-from git) Date: Sat, 20 Aug 2022 17:34:55 GMT Message-Id: <202208201734.27KHYtQY093367@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 5c78797e4249 - main - reap_kill_proc_locked(): remove outdated part of the comment 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5c78797e42497270d8719590d11243a4473114c4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661016895; 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=1xvZUjI8JFfkfGLhJQyoqCV19RB3LomA29dkSVG9Kos=; b=M2ZBadVb7w+h6t/bUQWBSNMhDB0nL4+KSlSzUbHKcX+xymY0gzvbzC2TJ93seqUgucXseC 0TLb/qzYpySVxt5d+oOYLcUTQFrGTUn/219fSPEuAa5LgBAN+RHMEQ2AUwDoBiwW/Ji4q1 cF7l6DdJXLUUT3PmIQPtjin+nkwGL3A70xAuU08NcQjS7IE50lMZo5PueuYZsmUNV9uY+4 aizU6Dhsg5QlCgw96+J3RlUyZ9Q7NVL9ZFcLSenGTkvuWSzBznb/MRy1a+7w/wNk5Xf1Wb cQuUKsye5riDiDJqXcuM4a1eDhvEyCygQQdietH0fAHmL7FmP24VFZWbNMo4Gw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661016895; a=rsa-sha256; cv=none; b=gbVypTTnm2UjMmGbYgpfKULc1X90e1Wh8eA3CrPFxtkfJm9KT+Whg969jacw7D0sKG2pDZ mfLyTE/02o8kDpwFKyT08s9pUlCuVQl3bJ2d8ezk158RlFwjp6cujLHshPaNaqW59MDOKo POLoTv7lZAzc6W3bx0oTd279hwTfy5TA6G48VSVBzDqj2gdWM4VKZ+6ElMtVoi9T7ccYCN cFeNN6hyc21HtskpLyg2qP2GLoc685gdspWxFURbF2WdfXUwQ1oBJVUO2HAkur/RWxmsjx aE2vc84pdXgReMCwHCmjrGx2Wak7heSF9xh1a8yMdRp6dLVEHCRQroZuvzAseg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=5c78797e42497270d8719590d11243a4473114c4 commit 5c78797e42497270d8719590d11243a4473114c4 Author: Konstantin Belousov AuthorDate: 2022-08-12 22:12:20 +0000 Commit: Konstantin Belousov CommitDate: 2022-08-20 17:33:17 +0000 reap_kill_proc_locked(): remove outdated part of the comment Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D36207 --- sys/kern/kern_procctl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/kern/kern_procctl.c b/sys/kern/kern_procctl.c index 79725686bc44..36372fd31bd4 100644 --- a/sys/kern/kern_procctl.c +++ b/sys/kern/kern_procctl.c @@ -281,10 +281,6 @@ reap_kill_proc_locked(struct thread *td, struct proc *p2, * into all structures during fork, ignored by iterator, and * then escaping signalling. * - * If need_stop is true, then reap_kill_proc() returns true if - * the process was successfully stopped and signalled, and - * false if stopping failed and the signal was not sent. - * * The thread cannot usefully stop itself anyway, and if other * thread of the current process forks while the current * thread signals the whole subtree, it is an application