Searched refs:producer (Results 1 – 2 of 2) sorted by relevance
33 static struct task_struct *producer; variable447 producer = kthread_run(ring_buffer_producer_thread, in ring_buffer_benchmark_init()449 ret = PTR_ERR(producer); in ring_buffer_benchmark_init()451 if (IS_ERR(producer)) in ring_buffer_benchmark_init()467 sched_set_fifo(producer); in ring_buffer_benchmark_init()469 sched_set_fifo_low(producer); in ring_buffer_benchmark_init()471 set_user_nice(producer, producer_nice); in ring_buffer_benchmark_init()486 kthread_stop(producer); in ring_buffer_benchmark_exit()
860 a producer and consumer that will run for 10 seconds and sleep for