Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2021 22:01:01 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: edc374e7c41d - main - Correct description for kern.proc.proc_td
Message-ID:  <202102022201.112M11hg005600@gitrepo.freebsd.org>

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

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

commit edc374e7c41d3d9e28e0b3a76bc9ed021d7db571
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-02-02 21:55:51 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-02-02 22:00:05 +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
---
 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 ae80ba9ed5ed..305bc7e8a2ef 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -3186,7 +3186,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?202102022201.112M11hg005600>