Re: [PATCH] genirq: Keep affinity_hint unchanged if it has a value

From: Thomas Gleixner
Date: Tue Mar 11 2025 - 10:16:18 EST


On Tue, Mar 11 2025 at 09:33, Yajun Deng wrote:
> affinity_hint is a hint to user space for preferred irq affinity, but
> it could chang if the value it points to is changed. In other words,
> the hint is invalid.

That's a problem of the driver which provides the hint.
>
> For example, if affinity_hint points to smp_affinity, smp_affinity
> is changed by the user, and affinity_hint would chang. affinity_hint
> couldn't as a hint to the user, it should keep the value if it has.

What is 'smp_affinity'?

I really fail to understand the problem you are trying to solve.

Thanks,

tglx