Module Name: src Committed By: martin Date: Thu Sep 17 11:37:35 UTC 2020
Modified Files: src/sys/kern: kern_proc.c Log Message: 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) To generate a diff of this commit: cvs rdiff -u -r1.260 -r1.261 src/sys/kern/kern_proc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_proc.c diff -u src/sys/kern/kern_proc.c:1.260 src/sys/kern/kern_proc.c:1.261 --- src/sys/kern/kern_proc.c:1.260 Sat Sep 5 16:30:12 2020 +++ src/sys/kern/kern_proc.c Thu Sep 17 11:37:35 2020 @@ -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 @@ fixjobc(struct proc *p, struct pgrp *pgr 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); }