Re: [PATCH v2 4/4] usb: hub: rename khubd to hub_wq in documentation and comments
From: Tejun Heo
Date: Thu Sep 18 2014 - 12:32:07 EST
On Thu, Sep 18, 2014 at 06:15:02PM +0200, Petr Mládek wrote:
> The easiest solution would be to allocate the work queue with
> the flag WQ_UNBOUND and max_active = 1. It will force serialization
> of all work items.
Please use alloc_ordered_workqueue() for that purpose. WQ_UNBOUND +
max_active == 1 no longer guarantees single thread of execution.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/