Re: [PATCH V7 2/4] softirq: Factor loop termination condition

From: Thomas Gleixner
Date: Thu Sep 24 2020 - 04:36:06 EST


On Tue, Sep 15 2020 at 19:56, qianjun kernel wrote:
> asmlinkage __visible void __softirq_entry __do_softirq(void)
> {
> u64 start = sched_clock();
> unsigned long old_flags = current->flags;
> - int max_restart = MAX_SOFTIRQ_RESTART;
> + unsigned int max_restart = MAX_SOFTIRQ_RESTART;

And this change is related to making the timeout check a function in
which way?

Thanks,

tglx