On Thu, Jul 23, 2020 at 9:41 PM Thomas Gleixner wrote:
>
> qianjun.ker...@gmail.com writes:
> > From: jun qian
> > + /*
> > + * the softirq's action has been running for too much time
> > + * so it may need to wakeup the ksoftirqd
> > + */
> > +
qianjun.ker...@gmail.com writes:
> From: jun qian
> + /*
> + * the softirq's action has been running for too much time
> + * so it may need to wakeup the ksoftirqd
> + */
> + if (need_resched() && ktime_get() > end)
> +
From: jun qian
When get the pending softirqs, it need to process all the pending
softirqs in the while loop. If the processing time of each pending
softirq is need more than 2 msec in this loop, or one of the softirq
will running a long time, according to the original code logic, it
will process
3 matches
Mail list logo