From nobody Fri Dec 06 16:48:01 2024 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 4Y4cdG0kn9z5gXFB; Fri, 06 Dec 2024 16:48:02 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y4cdF6wsnz4V6d; Fri, 6 Dec 2024 16:48:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733503682; 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=mvrb6LBjAtxFicrPJKMpX2ia0H2o+MGSkurOC1+/6aI=; b=XGTlchDp5XInBTBGWiKF7TK1kcXI4Wjfm9Bn+FWlYhSei/f54JiHdcGbOTnN/0DZT+dMZB tdvwplyHLgIsiOxHdylzUeJFIBhd/uXzwEczG0LgzgN3fmq0XzNNj5EJRilt0hLqaraLYQ MAjPkHqh0jJOdwT5o8SXTB9XPBVrMqsioAnM0EfhtC5Zl00pBr5UvJJRscOu67Z/PiSlbq oC/MYbPqypCkBYGDhJ/DEMZNiAmTjQo3EKzoimlEiZtgAGgjulyzskpwqgWa0x+05Z1+cJ Qb5F3vxAW3dEzsbCsvhUVOFenSoNkR1v49jjqrVfpmGSqAP+Rgu8z8frqjfLRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733503682; 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=mvrb6LBjAtxFicrPJKMpX2ia0H2o+MGSkurOC1+/6aI=; b=oGQ4MLKWGzm9WupKRejA/blKnlsfon5IQUCUzOAsv389fcN/UNsmF/5oybxDxh3sQ42kof jAxvP6NYinUtG5HfC4xw9SmDV8dQtj0yvYgxBkyRNv5QWtlL+bvE+8Nef6CCxN7dU1plAX m0kmWBrv1cryGQkO6/vLD3oN2TuvhrvYmXIYg/hOoi1SuaK/lkDw1KXrzF9kuAytfoum3d 1zbLWS7wjXQ+7uULq+ZuMw2actYZe1MDM9nG4QNpdhaqc/hoBX2PfdtAC8GNBxo58rKI+v W/TC3SeYxcug7ITTO+XHYch/QAf7jsuVLV3XGJVjGeLjeU6+NNl7xWm+Ya/DUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733503682; a=rsa-sha256; cv=none; b=FNnGgTz7X39FW9v7qt2RCKTkzOcU56n9A5NYQnZAZo7Ku0XRyl9+4Cshfi4LFi8bWZjXCj 61OZoS47IPWQljytfOP1o6Hr/V5U4iRpllVv7UoBpEFdpdwX1gZIuskA+ACgxRXzkKKKR3 piHX2b++ooQcfFbdl1AKkh5BMeTLJig/6YV2OCSNp1FUw/rk1fg1L5BCbo/8XCC/4aERes P8WZo5YA/lImE2sLH4lXlEazaiG+r7SfK8RQSC36DMFJfsbTkUN5L2ZZLl1RhAnLUOJIvR iXmi02lEP6MCu5rugnpxrQ0QVqvGk7F7+IC5EdWMf2eqeOkbjAjMX6lSHJu/TQ== 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 4Y4cdF6XHFzljS; Fri, 6 Dec 2024 16:48:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B6Gm14I037303; Fri, 6 Dec 2024 16:48:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B6Gm1o4037300; Fri, 6 Dec 2024 16:48:01 GMT (envelope-from git) Date: Fri, 6 Dec 2024 16:48:01 GMT Message-Id: <202412061648.4B6Gm1o4037300@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 509300e1ffbe - main - pfind: Fix coments 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 509300e1ffbe71a6f6608fa188dbcfe4ae1fbbdf Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=509300e1ffbe71a6f6608fa188dbcfe4ae1fbbdf commit 509300e1ffbe71a6f6608fa188dbcfe4ae1fbbdf Author: Yan-Hao Wang AuthorDate: 2024-12-06 16:46:38 +0000 Commit: Warner Losh CommitDate: 2024-12-06 16:47:40 +0000 pfind: Fix coments PR: 283093 Reviewed by: imp --- sys/kern/kern_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 032bea6cfc9b..77ae6cbddea5 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -412,7 +412,7 @@ pidhash_sunlockall(void) } /* - * Similar to pfind_any(), this function finds zombies. + * Similar to pfind(), this function locate a process by number. */ struct proc * pfind_any_locked(pid_t pid)