diff options
author | Cai Huoqing <caihuoqing@baidu.com> | 2022-01-14 14:02:59 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-01-15 16:30:23 +0200 |
commit | 64ed3a049e3e81b801e7c5bb052416152443f585 (patch) | |
tree | 993befc2679b5c979e1c3c356694127e88b677e4 /fs/nfs/nfs4session.h | |
parent | e0850113937b843c69b50b5d9087978ae4254be7 (diff) | |
download | linux-64ed3a049e3e81b801e7c5bb052416152443f585.tar.gz linux-64ed3a049e3e81b801e7c5bb052416152443f585.tar.bz2 linux-64ed3a049e3e81b801e7c5bb052416152443f585.zip |
ring-buffer: make use of the helper function kthread_run_on_cpu()
Replace kthread_create/kthread_bind/wake_up_process() with
kthread_run_on_cpu() to simplify the code.
Link: https://lkml.kernel.org/r/20211022025711.3673-4-caihuoqing@baidu.com
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Cc: Bernard Metzler <bmt@zurich.ibm.com>
Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Doug Ledford <dledford@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: "Paul E . McKenney" <paulmck@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfs/nfs4session.h')
0 files changed, 0 insertions, 0 deletions