From 86e04fa55546c9dc3a15b4978b9c453d30be2e00 Mon Sep 17 00:00:00 2001 From: scottl Date: Fri, 24 Apr 2015 17:05:18 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.freebsd.org/base/stable/10@281943 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- 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 3da310cf7..1ffc7d5fa 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 */ }; /* -- 2.45.0