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 */
 };
 
 /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to