Search Linux Wireless

Re: [PATCH 3/3] brcmfmac: make setting SDIO workqueue WQ_HIGHPRI a module parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Arend Van Spriel 於 3/25/2020 10:53 PM 寫道:
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
I was trying do that, but the comment of alloc_oredered_workqueue shows that only WQ_FREEZABLE and WQ_MEM_RECLAIM are meaningful, so...

I will measure the throughput with "alloc_ordered_workqueue(NAME, WQ_HIGHPRI, ...)" to see if WQ_HIGHPRI works with alloc_ordered_workqueue. Thanks for the suggestion.

---
/**
 * alloc_ordered_workqueue - allocate an ordered workqueue
 * @fmt: printf format for the name of the workqueue
 * @flags: WQ_* flags (only WQ_FREEZABLE and WQ_MEM_RECLAIM are meaningful)
 * @args...: args for @fmt
 *
...
 */
---

Regards,
Wright



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux