]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
genirq/affinity: Remove cpus_read_lock() while reading cpu_possible_mask
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 1 Apr 2026 12:13:34 +0000 (14:13 +0200)
committerThomas Gleixner <tglx@kernel.org>
Wed, 1 Apr 2026 14:09:05 +0000 (16:09 +0200)
commit34d85ad42604fbb5a8903488c6a7e2862e2d0254
tree3f9eff6f7ca881a46959989e7aeedcd133fd8f71
parent56c167a0c0fa24aa6eb14c4e81cc4bad1048d651
genirq/affinity: Remove cpus_read_lock() while reading cpu_possible_mask

cpu_possible_mask is set early during boot based on information from the
firmware. After that it remains read only and is never changed.  Therefore
there is no need to acquire the CPU-hotplug lock while reading it.

Remove cpus_read_*() while accessing cpu_possible_mask.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260401121334.xeMOSC1v@linutronix.de
kernel/irq/affinity.c