summaryrefslogtreecommitdiff
path: root/kern/counters.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-03 12:41:48 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-26 12:14:40 +0200
commit6cc817f6a4a274f03a0c80478a91aea3024dc7fd (patch)
treef2b8ae87af61f4d19f3d549ba50b1b9c0c4d275e /kern/counters.h
parent77c0a29cf99fb23b5604abf558579a612bfef584 (diff)
kern: remove the list of free stacks
* kern/counters.c: Remove relevant counters. * kern/counters.h: Likewise. * kern/thread.c (stack_free_{list,count,limit}): Drop variables. (stack_next): Remove macro. (stack_alloc_try): Allocate stack using the slab allocator. (stack_alloc): Merely call `stack_alloc_try'. (stack_free): Adopt accordingly.
Diffstat (limited to 'kern/counters.h')
-rw-r--r--kern/counters.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/kern/counters.h b/kern/counters.h
index aa1e739..bfa9b44 100644
--- a/kern/counters.h
+++ b/kern/counters.h
@@ -69,9 +69,6 @@ extern mach_counter_t c_stacks_current;
extern mach_counter_t c_stacks_max;
extern mach_counter_t c_stacks_min;
extern mach_counter_t c_stacks_total;
-extern mach_counter_t c_stack_alloc_hits;
-extern mach_counter_t c_stack_alloc_misses;
-extern mach_counter_t c_stack_alloc_max;
extern mach_counter_t c_clock_ticks;
extern mach_counter_t c_ipc_mqueue_send_block;
extern mach_counter_t c_ipc_mqueue_receive_block_user;