From 43ffa928f96d263feb2adc7556c17b39aae54f1d Mon Sep 17 00:00:00 2001 From: Scott Long Date: Fri, 24 Apr 2015 17:03:53 +0000 Subject: [PATCH] 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 --- sys/vm/uma_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h index 11ab24f973a..ad2a4053fc2 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 */ }; /*