> >From 731f7f167a95946cac52da6cf5964a2904a9164c Mon Sep 17 00:00:00 2001 > From: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> > Date: Wed, 20 Apr 2022 07:10:50 +0900 > Subject: [PATCH v2] RDMA/core: Avoid flush_workqueue(system_unbound_wq) usage > > Flushing system-wide workqueues is dangerous and will be forbidden. > Replace system_unbound_wq with local ib_unbound_wq. > > Link: https://lkml.kernel.org/r/49925af7-78a8-a3dd-bce6-cfc02e1a9236@xxxxxxxxxxxxxxxxxxx > Signed-off-by: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> > Changes in v2: > Need to use local ib_unbound_wq only when unloading, pointed by Jason Gunthorpe <jgg@xxxxxxxx>. > > drivers/infiniband/core/device.c | 24 ++++++++++++++---------- > 1 file changed, 14 insertions(+), 10 deletions(-) I renamed it to ib_unreg_wq but otherwise applied, thanks Jason