kthread: Unify kthread_create_on_cpu() and kthread_create_worker_on_cpu() automatic...
authorFrederic Weisbecker <frederic@kernel.org>
Thu, 26 Sep 2024 22:49:06 +0000 (00:49 +0200)
committerFrederic Weisbecker <frederic@kernel.org>
Wed, 8 Jan 2025 17:15:03 +0000 (18:15 +0100)
commit41f70d8e16349c65abdc0dd88a7d0ab94e5ce639
treec0c883c9f82480e34bde9ceeeed7089489676920
parentdb7ee3cb620b2cec5a5f44767ab93cb4eb80d961
kthread: Unify kthread_create_on_cpu() and kthread_create_worker_on_cpu() automatic format

kthread_create_on_cpu() uses the CPU argument as an implicit and unique
printf argument to add to the format whereas
kthread_create_worker_on_cpu() still relies on explicitly passing the
printf arguments. This difference in behaviour is error prone and
doesn't help standardizing per-CPU kthread names.

Unify the behaviours and convert kthread_create_worker_on_cpu() to
use the printf behaviour of kthread_create_on_cpu().

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
fs/erofs/zdata.c
include/linux/kthread.h
kernel/kthread.c