Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2012 18:19:41 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r240045 - stable/9/sys/vm
Message-ID:  <201209021819.q82IJfGZ048232@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209021819.q82IJfGZ048232>