diff options
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/ring_buffer_benchmark.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/trace/ring_buffer_benchmark.c b/kernel/trace/ring_buffer_benchmark.c index 70df73e4ff21..3875d49da990 100644 --- a/kernel/trace/ring_buffer_benchmark.c +++ b/kernel/trace/ring_buffer_benchmark.c | |||
@@ -399,6 +399,12 @@ static int __init ring_buffer_benchmark_init(void) | |||
399 | if (IS_ERR(producer)) | 399 | if (IS_ERR(producer)) |
400 | goto out_kill; | 400 | goto out_kill; |
401 | 401 | ||
402 | /* | ||
403 | * Run them as low-prio background tasks by default: | ||
404 | */ | ||
405 | set_user_nice(consumer, 19); | ||
406 | set_user_nice(producer, 19); | ||
407 | |||
402 | return 0; | 408 | return 0; |
403 | 409 | ||
404 | out_kill: | 410 | out_kill: |