Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2021 02:52:48 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 7523914d08f9 - stable/12 - Correct description for kern.proc.proc_td
Message-ID:  <202102050252.1152qmtd050510@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=7523914d08f9afba1b15f051bc34245cd551c725

commit 7523914d08f9afba1b15f051bc34245cd551c725
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-02-02 21:55:51 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-02-05 02:51:45 +0000

    Correct description for kern.proc.proc_td
    
    kern.proc.proc_td returns the process table with an entry for each
    thread.  Previously the description included "no threads", presumably
    a cut-and-pasteo in 2648efa621748.
    
    Description suggested by PauAmma.
    
    PR:             253146
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit edc374e7c41d3d9e28e0b3a76bc9ed021d7db571)
---
 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 566b9a8ea43a..04d82d30f8c2 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -3167,7 +3167,7 @@ static SYSCTL_NODE(_kern_proc, (KERN_PROC_PID | KERN_PROC_INC_THREAD), pid_td,
 
 static SYSCTL_NODE(_kern_proc, (KERN_PROC_PROC | KERN_PROC_INC_THREAD), proc_td,
 	CTLFLAG_RD | CTLFLAG_MPSAFE, sysctl_kern_proc,
-	"Return process table, no threads");
+	"Return process table, including threads");
 
 #ifdef COMPAT_FREEBSD7
 static SYSCTL_NODE(_kern_proc, KERN_PROC_OVMMAP, ovmmap, CTLFLAG_RD |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102050252.1152qmtd050510>