Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern PR kern/55665: temporarily comment out an assertion...



details:   https://anonhg.NetBSD.org/src/rev/1ebd014a8ec3
branches:  trunk
changeset: 955060:1ebd014a8ec3
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 17 11:37:35 2020 +0000

description:
PR kern/55665: temporarily comment out an assertion that is known to
trigger in some conditions (where ignoring the wrap around does no harm
for now)

diffstat:

 sys/kern/kern_proc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3a5f1139854b -r 1ebd014a8ec3 sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c      Thu Sep 17 06:34:43 2020 +0000
+++ b/sys/kern/kern_proc.c      Thu Sep 17 11:37:35 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_proc.c,v 1.260 2020/09/05 16:30:12 riastradh Exp $        */
+/*     $NetBSD: kern_proc.c,v 1.261 2020/09/17 11:37:35 martin Exp $   */
 
 /*-
  * Copyright (c) 1999, 2006, 2007, 2008, 2020 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.260 2020/09/05 16:30:12 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.261 2020/09/17 11:37:35 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_kstack.h"
@@ -1540,7 +1540,7 @@
                        pgrp->pg_jobc++;
                        p->p_lflag &= ~PL_ORPHANPG;
                } else {
-                       KASSERT(pgrp->pg_jobc > 0);
+                       /* KASSERT(pgrp->pg_jobc > 0); */
                        if (--pgrp->pg_jobc == 0)
                                orphanpg(pgrp);
                }



Home | Main Index | Thread Index | Old Index