The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Yajun Deng <yajun.deng@linux.dev>
Cc: linux-kernel@vger.kernel.org, Yajun Deng <yajun.deng@linux.dev>
Subject: Re: [PATCH] genirq: Keep affinity_hint unchanged if it has a value
Date: Tue, 11 Mar 2025 15:14:04 +0100	[thread overview]
Message-ID: <871pv31wpf.ffs@tglx> (raw)
In-Reply-To: <20250311013352.2727490-1-yajun.deng@linux.dev>

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

  reply	other threads:[~2025-03-11 14:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-11  1:33 [PATCH] genirq: Keep affinity_hint unchanged if it has a value Yajun Deng
2025-03-11 14:14 ` Thomas Gleixner [this message]
2025-03-12  3:20   ` Yajun Deng
2025-03-12  9:10     ` Thomas Gleixner
2025-03-12 10:28       ` Yajun Deng
2025-03-11 18:51 ` kernel test robot
2025-03-11 19:55 ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871pv31wpf.ffs@tglx \
    --to=tglx@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yajun.deng@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox