Lines Matching +full:debian +full:- +full:release
1 // SPDX-License-Identifier: GPL-2.0
7 * pool->lock contention under different affinity scope configurations
14 * Copyright (c) 2026 Breno Leitao <leitao@debian.org>
62 complete(&ctx->work_done); in bench_work_fn()
77 for (i = 0; i < ctx->items; i++) { in bench_kthread_fn()
78 reinit_completion(&ctx->work_done); in bench_kthread_fn()
79 INIT_WORK(&ctx->work, bench_work_fn); in bench_kthread_fn()
82 queue_work(bench_wq, &ctx->work); in bench_kthread_fn()
85 ctx->latencies[i] = ktime_to_ns(ktime_sub(t_end, t_start)); in bench_kthread_fn()
86 wait_for_completion(&ctx->work_done); in bench_kthread_fn()
108 return -1; in cmp_u64()
154 return -ENOMEM; in run_bench()
159 return -ENOMEM; in run_bench()
167 return -ENOMEM; in run_bench()
170 /* Allocate per-thread latency arrays */ in run_bench()
175 while (--i >= 0) in run_bench()
180 return -ENOMEM; in run_bench()
206 while (--i >= 0) in run_bench()
216 /* Start timing and release all threads */ in run_bench()
233 /* Merge all per-thread latencies and sort for percentile calculation */ in run_bench()
243 pr_info("test_workqueue: %-16s %llu items/sec\tp50=%llu\tp90=%llu\tp95=%llu ns\n", in run_bench()
272 return -EINVAL; in test_workqueue_init()
277 return -ENOMEM; in test_workqueue_init()
287 /* Return -EAGAIN so the module doesn't stay loaded after the benchmark */ in test_workqueue_init()
288 return -EAGAIN; in test_workqueue_init()
292 MODULE_AUTHOR("Breno Leitao <leitao@debian.org>");