The branch main has been updated by kib:

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

commit 166c1fac59f04cc346d8a18671f25d0ef0293611
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2024-11-12 06:05:48 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2024-11-12 06:05:48 +0000

    struct proc: add locking annotation for p_pendingcnt
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
---
 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 c56d3debd5c0..a69eecbb4661 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -709,7 +709,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 */

Reply via email to