-decl_simple_lock_data(static,stack_lock_data)
-#define stack_lock() simple_lock(&stack_lock_data)
-#define stack_unlock() simple_unlock(&stack_lock_data)
-
-#define STACK_CACHE_SIZE 2
-
-static vm_offset_t stack_free_list;
-
-static unsigned int stack_free_count, stack_free_hiwat; /* free list count */
-static unsigned int stack_hiwat;
-unsigned int stack_total; /* current total count */
-unsigned long long stack_allocs; /* total count of allocations */
-
-static int stack_fake_zone_index = -1; /* index in zone_info array */
-
-static unsigned int stack_free_target;
-static int stack_free_delta;
-
-static unsigned int stack_new_count; /* total new stack allocations */
+decl_simple_lock_data(static, stack_lock_data);
+#define stack_lock() simple_lock(&stack_lock_data, LCK_GRP_NULL)
+#define stack_unlock() simple_unlock(&stack_lock_data)