svn commit: r240045 - stable/9/sys/vm

Eitan Adler eadler at FreeBSD.org
Sun Sep 2 18:19:42 UTC 2012


Author: eadler
Date: Sun Sep  2 18:19:41 2012
New Revision: 240045
URL: http://svn.freebsd.org/changeset/base/240045

Log:
  MFC r238206:
  	Add missing sleep stat increase
  
  PR:		kern/168211
  Approved by:	cperciva (implicit)

Modified:
  stable/9/sys/vm/uma_core.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/vm/uma_core.c
==============================================================================
--- stable/9/sys/vm/uma_core.c	Sun Sep  2 18:19:37 2012	(r240044)
+++ stable/9/sys/vm/uma_core.c	Sun Sep  2 18:19:41 2012	(r240045)
@@ -2166,6 +2166,7 @@ keg_fetch_slab(uma_keg_t keg, uma_zone_t
 				zone->uz_flags |= UMA_ZFLAG_FULL;
 			if (flags & M_NOWAIT)
 				break;
+			zone->uz_sleeps++;
 			msleep(keg, &keg->uk_lock, PVM, "keglimit", 0);
 			continue;
 		}


More information about the svn-src-all mailing list