svn commit: r252358 - head/sys/vm

Davide Italiano davide at FreeBSD.org
Fri Jun 28 21:13:20 UTC 2013


Author: davide
Date: Fri Jun 28 21:13:19 2013
New Revision: 252358
URL: http://svnweb.freebsd.org/changeset/base/252358

Log:
  Remove a spurious keg lock acquisition.

Modified:
  head/sys/vm/uma_core.c

Modified: head/sys/vm/uma_core.c
==============================================================================
--- head/sys/vm/uma_core.c	Fri Jun 28 21:04:15 2013	(r252357)
+++ head/sys/vm/uma_core.c	Fri Jun 28 21:13:19 2013	(r252358)
@@ -493,7 +493,7 @@ keg_timeout(uma_keg_t keg)
 
 			KEG_UNLOCK(keg);
 			hash_free(&oldhash);
-			KEG_LOCK(keg);
+			return;
 		}
 	}
 	KEG_UNLOCK(keg);


More information about the svn-src-all mailing list