diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-07-03 12:41:48 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-28 15:48:04 +0200 |
commit | 2bd375fbd8ba0eb3c09113724afd3e78283e1f4e (patch) | |
tree | 4c08beb5d0d7eb15580719aa8e91418501bc8820 /kern/counters.c | |
parent | 66fa48d924d6898c97eb29a1165bbbc0f08c6ab4 (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.c')
-rw-r--r-- | kern/counters.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kern/counters.c b/kern/counters.c index 0a0665b..74fd42d 100644 --- a/kern/counters.c +++ b/kern/counters.c @@ -46,9 +46,6 @@ mach_counter_t c_stacks_current = 0; mach_counter_t c_stacks_max = 0; mach_counter_t c_stacks_min = 0; mach_counter_t c_stacks_total = 0; -mach_counter_t c_stack_alloc_hits = 0; -mach_counter_t c_stack_alloc_misses = 0; -mach_counter_t c_stack_alloc_max = 0; mach_counter_t c_clock_ticks = 0; mach_counter_t c_ipc_mqueue_send_block = 0; mach_counter_t c_ipc_mqueue_receive_block_user = 0; |