svn commit: r281943 - stable/10/sys/vm
Scott Long
scottl at FreeBSD.org
Fri Apr 24 17:05:19 UTC 2015
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 */
};
/*
More information about the svn-src-stable
mailing list