diff options
author | scottl <scottl@FreeBSD.org> | 2015-04-24 17:05:18 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2015-04-24 17:05:18 +0000 |
commit | 8518c5cf964dfabc1ae66a8021b1bf1d89e11253 (patch) | |
tree | 6d46fa240bf36d4e662ab59daf03f0706c0232a4 /sys/vm/uma_int.h | |
parent | b8b36803fa751c7ba92f9c758ee80661b6f4a6d9 (diff) | |
download | FreeBSD-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/uma_int.h')
-rw-r--r-- | sys/vm/uma_int.h | 2 |
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 */ }; /* |