RE: Flush warning
From: Hefty, Sean <hidden>
Date: 2017-08-14 17:01:54
Also in:
linux-nvme
quoted
quoted
quoted
The workqueue which frees the memory and doesn't allocate memory during execution is supposed to be marked as WQ_MEM_RECLAIM. This flag will cause to priority increase for such workqueue during lowmemory conditions.quoted
quoted
Which to my understanding means that CM workqueue should not use it as on each CM connect, by definition the ULP allocates memory (qp,cq etc).quoted
From my understanding too. That workqueue was introduced in 2005, in a977049dacde ("[PATCH] IB: Add the kernel CM implementation"), it is not clear if it was intentionally. Hal, do you remember the rationale there?Sean is best to respond to this.
I believe the work queue was to avoid potential deadlocks that could arise from using the MAD work queue. The original submission did not mark the work queue with WQ_MEM_RECLAIM. I do not know when that change was added. - Sean -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html