[PATCH] nvme: Drop WQ_MEM_RECLAIM flag from core workqueues

Jason Gunthorpe jgg at ziepe.ca
Tue Apr 13 14:35:12 BST 2021


On Tue, Apr 13, 2021 at 10:54:04AM +0200, Daniel Wagner wrote:

> Hmm, I am struggling with your last statement. If a worker does an
> allocation it might block. I understand this is something which a worker
> in a WQ_MEM_RECLAIM context is not allowed to do.
> 
> My aim is still to get rid of the warning triggered by the rdma
> code.

The WQ_MEM_RECLAIM is placed on a workqueue not because of what is
*inside* the work, but because of what is *waiting* on the work.

Jason



More information about the Linux-nvme mailing list