svn commit: r362910 - head/sys/kern

Mateusz Guzik mjg at FreeBSD.org
Fri Jul 3 09:23:12 UTC 2020


Author: mjg
Date: Fri Jul  3 09:23:11 2020
New Revision: 362910
URL: https://svnweb.freebsd.org/changeset/base/362910

Log:
  ifdef out pg_jobc assertions added in r361967
  
  They trigger for some people, the bug is not obvious, there are no takers
  for fixing it, the issue already had to be there for years beforehand and
  is low priority.

Modified:
  head/sys/kern/kern_proc.c

Modified: head/sys/kern/kern_proc.c
==============================================================================
--- head/sys/kern/kern_proc.c	Fri Jul  3 08:06:26 2020	(r362909)
+++ head/sys/kern/kern_proc.c	Fri Jul  3 09:23:11 2020	(r362910)
@@ -731,10 +731,14 @@ pgadjustjobc(struct pgrp *pgrp, int entering)
 
 	PGRP_LOCK(pgrp);
 	if (entering) {
+#ifdef notyet
 		MPASS(pgrp->pg_jobc >= 0);
+#endif
 		pgrp->pg_jobc++;
 	} else {
+#ifdef notyet
 		MPASS(pgrp->pg_jobc > 0);
+#endif
 		--pgrp->pg_jobc;
 		if (pgrp->pg_jobc == 0)
 			orphanpg(pgrp);


More information about the svn-src-head mailing list