summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2015-04-24 17:05:18 +0000
committerscottl <scottl@FreeBSD.org>2015-04-24 17:05:18 +0000
commit8518c5cf964dfabc1ae66a8021b1bf1d89e11253 (patch)
tree6d46fa240bf36d4e662ab59daf03f0706c0232a4 /sys/vm
parentb8b36803fa751c7ba92f9c758ee80661b6f4a6d9 (diff)
downloadFreeBSD-src-8518c5cf964dfabc1ae66a8021b1bf1d89e11253.zip
FreeBSD-src-8518c5cf964dfabc1ae66a8021b1bf1d89e11253.tar.gz
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.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/uma_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h
index 3da310c..1ffc7d5 100644
--- a/sys/vm/uma_int.h
+++ b/sys/vm/uma_int.h
@@ -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 */
};
/*
OpenPOWER on IntegriCloud