RE: [PATCH 0/6] kthread: Add the helper macro kthread_run_on_cpu()

From: Cai,Huoqing
Date: Thu Oct 21 2021 - 09:59:20 EST


Hi, folks
V2 is here
https://lore.kernel.org/lkml/20211021122758.3092-2-caihuoqing@xxxxxxxxx/

> -----Original Message-----
> From: Cai,Huoqing <caihuoqing@xxxxxxxxx>
> Sent: 2021年10月21日 20:01
> To: Cai,Huoqing
> Cc: Bernard Metzler; Doug Ledford; Jason Gunthorpe; Davidlohr Bueso; Paul
> E. McKenney; Josh Triplett; Steven Rostedt; Mathieu Desnoyers; Lai
> Jiangshan; Joel Fernandes; Ingo Molnar; Daniel Bristot de Oliveira; linux-
> rdma@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; rcu@xxxxxxxxxxxxxxx
> Subject: [PATCH 0/6] kthread: Add the helper macro kthread_run_on_cpu()
>
> the helper macro kthread_run_on_cpu() inculdes
> kthread_create_on_cpu/wake_up_process().
> In some cases, use kthread_run_on_cpu() directly instead of
> kthread_create_on_node/kthread_bind/wake_up_process() or
> kthread_create_on_cpu/wake_up_process() or
> kthreadd_create/kthread_bind/wake_up_process() to simplify the code.
>
> Cai Huoqing (6):
> kthread: Add the helper macro kthread_run_on_cpu()
> RDMA/siw: Make use of the helper macro kthread_run_on_cpu()
> ring-buffer: Make use of the helper macro kthread_run_on_cpu()
> rcutorture: Make use of the helper macro kthread_run_on_cpu()
> trace/osnoise: Make use of the helper macro kthread_run_on_cpu()
> trace/hwlat: Make use of the helper macro kthread_run_on_cpu()
>
> drivers/infiniband/sw/siw/siw_main.c | 7 +++----
> include/linux/kthread.h | 22 ++++++++++++++++++++++
> kernel/rcu/rcutorture.c | 7 ++-----
> kernel/trace/ring_buffer.c | 7 ++-----
> kernel/trace/trace_hwlat.c | 6 +-----
> kernel/trace/trace_osnoise.c | 3 +--
> 6 files changed, 31 insertions(+), 21 deletions(-)
>
> --
> 2.25.1