Hello, On Wed, Mar 27, 2019 at 02:16:11PM -0300, Jason Gunthorpe wrote: > So, is it OK for a WQ entry on a WQ_MEM_RECLAIM queue to call > kmalloc(GFP_KERNEL) ? In most cases, you can answer these questions by mapping them to a block device driver. A block device driver which performs GFP_KERNEL allocation on IO path may cause a deadlock. If the workqueue is sitting in a path which can be depended upon for memory reclaim IOs, the same applies to the workqueue. Thanks. -- tejun