Re: [RFC PATCH 1/5] entry: Pass pt_regs to irqentry_exit_cond_resched()

From: Borislav Petkov
Date: Mon Aug 08 2022 - 13:38:48 EST


On Mon, Aug 08, 2022 at 10:34:19AM -0700, Ira Weiny wrote:
> I thought about that but generally have been steered away from using bool
> arguments like this.

The reason being?

> Looking this over I think this may be a reasonable use of a flag like
> that.
>
> I'm not sure if this series is going to land given the discussion of
> performance.

Well, the only way to talk performance is to have something to measure
it with. But let me finish going through the rest of your set first.

> Would this clean up be welcome on its own? I'm willing to respin
> this patch and submit if so.

Depends on who steered you away from the bool thing and why?

:-)

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette