Miguel Figueiredo, le Mon 27 May 2013 23:30:17 +0100, a écrit :
> in case you feel it is worth it:
I'm balanced. It is small enough not to have to really care about
performance, and stuffing #if makes the code less readable.
> diff --git a/kern/thread.c b/kern/thread.c
> index 79f526a..574f184 10
Em 26-05-2013 22:39, Samuel Thibault escreveu:
Miguel Figueiredo, le Sun 26 May 2013 18:28:55 +0100, a écrit :
2013-05-26 Miguel Figueiredo
* kern/thread.c (stack_alloc_hits, stack_alloc_misses): Remove unused
variables
I wouldn't do that: they can be read from the debugger.
Samuel
Miguel Figueiredo, le Sun 26 May 2013 18:28:55 +0100, a écrit :
> 2013-05-26 Miguel Figueiredo
>
> * kern/thread.c (stack_alloc_hits, stack_alloc_misses): Remove unused
> variables
I wouldn't do that: they can be read from the debugger.
Samuel
2013-05-26 Miguel Figueiredo
* kern/thread.c (stack_alloc_hits, stack_alloc_misses): Remove unused
variables
diff --git a/kern/thread.c b/kern/thread.c
index 79f526a..2181d49 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -163,10 +163,8 @@ boolean_t stack_alloc_try(
if (stack