svn commit: r240044 - stable/8/sys/vm

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


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

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

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

Modified: stable/8/sys/vm/uma_core.c
==============================================================================
--- stable/8/sys/vm/uma_core.c	Sun Sep  2 18:17:20 2012	(r240043)
+++ stable/8/sys/vm/uma_core.c	Sun Sep  2 18:19:37 2012	(r240044)
@@ -2161,6 +2161,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