git: b01067349311 - stable/14 - struct proc: add locking annotation for p_pendingcnt

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Thu, 14 Nov 2024 00:43:43 UTC
The branch stable/14 has been updated by kib:

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

commit b01067349311656d51172da8900c4281ca115ac4
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-11-12 06:05:48 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-14 00:42:18 +0000

    struct proc: add locking annotation for p_pendingcnt
    
    (cherry picked from commit 166c1fac59f04cc346d8a18671f25d0ef0293611)
---
 sys/sys/proc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 96cfc5f199ae..f794cbe17442 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -714,7 +714,7 @@ struct proc {
 	int		p_suspcount;	/* (j) Num threads in suspended mode. */
 	struct thread	*p_xthread;	/* (c) Trap thread */
 	int		p_boundary_count;/* (j) Num threads at user boundary */
-	int		p_pendingcnt;	/* how many signals are pending */
+	int		p_pendingcnt;	/* (c) how many signals are pending */
 	struct itimers	*p_itimers;	/* (c) POSIX interval timers. */
 	struct procdesc	*p_procdesc;	/* (e) Process descriptor, if any. */
 	u_int		p_treeflag;	/* (e) P_TREE flags */