Author: scottl
Date: Fri Apr 24 17:05:18 2015
New Revision: 281943
URL: https://svnweb.freebsd.org/changeset/base/281943

Log:
  Revert r281543.  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.

Modified:
  stable/10/sys/vm/uma_int.h

Modified: stable/10/sys/vm/uma_int.h
==============================================================================
--- stable/10/sys/vm/uma_int.h  Fri Apr 24 17:03:53 2015        (r281942)
+++ stable/10/sys/vm/uma_int.h  Fri Apr 24 17:05:18 2015        (r281943)
@@ -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 */
 };
 
 /*
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to