On March 25, 2020 3:08:18 PM Tejun Heo <tj@xxxxxxxxxx> wrote:
On Wed, Mar 25, 2020 at 12:29:44PM +0800, Wright Feng wrote:If that's incorrect, would you please give me a hint how to set __WQ_ORDERED(internal use flag) and WQ_HIGHPRI flags at the same time?Wouldn't alloc_ordered_workqueue(NAME, WQ_HIGHPRI, ...) do what you want?
That was my initial suggestion. Can WQ_HIGHPRI be used together with WQ_MEMRECLAIM?
Regards, Arend