Re: [PATCH] workqueue: Add WQ_SCHED_FIFO

From: Sandeep Dhavale
Date: Wed Jan 18 2023 - 13:23:02 EST


On Wed, Jan 18, 2023 at 9:52 AM Tejun Heo <tj@xxxxxxxxxx> wrote:
>
> On Sat, Jan 14, 2023 at 01:00:00PM -0800, Nathan Huckleberry wrote:
> > This sounds fine to me. How do you feel about a config flag to change
> > the default WQ_HIGHPRI scheduler policy and a sysfs node to update the
> > policy per workqueue?
>
> Yeah, sounds fine to me.
>
> Thanks.
>
Hi Tejun,
If with the kernel config option, every WQ_HIGHPRI is elevated to
sched_fifo_low, wouldn't that be kind of defeating the purpose? Having
another class for even more urgent work is better in my opinion.

Thanks,
Sandeep.
> --
> tejun