lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87y0m1eufo.ffs@tglx>
Date: Tue, 13 Jan 2026 10:24:59 +0100
From: Thomas Gleixner <tglx@...nel.org>
To: Imran Khan <imran.f.khan@...cle.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH v2] genirq/cpuhotpug: notify of irq affinity change
 for offlined cpu.

On Tue, Jan 13 2026 at 10:24, Thomas Gleixner wrote:
> On Sat, Jan 03 2026 at 00:53, Imran Khan wrote:
>> +			if (affinity_broken && desc->affinity_notify) {
>> +				kref_get(&desc->affinity_notify->kref);
>> +				if (!schedule_work(&desc->affinity_notify->work)) {
>> +					/* Work was already scheduled, drop our extra ref */
>> +					kref_put(&desc->affinity_notify->kref,
>> +					desc->affinity_notify->release);
>> +				}
>> +			}
>
> No, we are not doing random copy&pasta.
>
> Split out the functionality into a function and use it both here and in
> irq_set_affinity_locked().

And while at it you might fix the typos in subject and change log.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ