Remove qnonblock from the profiler
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 31 Mar 2016 18:51:21 +0000 (14:51 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 31 Mar 2016 20:53:42 +0000 (16:53 -0400)
This was never supposed to be in the code in the first place, since it does
nothing to have both it and qdropoverflow().

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/profiler.c

index 7b6698f..8c1ddc1 100644 (file)
@@ -275,7 +275,6 @@ static void alloc_cpu_buffers(void)
        }
 
        qdropoverflow(profiler_queue, TRUE);
-       qnonblock(profiler_queue, TRUE);
 
        profiler_percpu_ctx =
            kzmalloc(sizeof(*profiler_percpu_ctx) * num_cores, MEM_WAIT);