Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 17:03:53 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281942 - head/sys/vm
Message-ID:  <201504241703.t3OH3rpr097920@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: scottl
Date: Fri Apr 24 17:03:53 2015
New Revision: 281942
URL: https://svnweb.freebsd.org/changeset/base/281942

Log:
  Revert r281451.  It causes a panic/hang early in boot for a number of
  users, myself included.  The original code is likely papering over a
  larger bug that needs to be explored, but for now get things back to
  a working state.
  
  Obtained from:	Netflix, Inc.
  MFC after:	immediately

Modified:
  head/sys/vm/uma_int.h

Modified: head/sys/vm/uma_int.h
==============================================================================
--- head/sys/vm/uma_int.h	Fri Apr 24 16:56:23 2015	(r281941)
+++ head/sys/vm/uma_int.h	Fri Apr 24 17:03:53 2015	(r281942)
@@ -311,7 +311,7 @@ struct uma_zone {
 	 * This HAS to be the last item because we adjust the zone size
 	 * based on NCPU and then allocate the space for the zones.
 	 */
-	struct uma_cache	uz_cpu[]; /* Per cpu caches */
+	struct uma_cache	uz_cpu[1]; /* Per cpu caches */
 };
 
 /*



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