]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf/arm-cmn: Clean up unnecessary NUMA_NO_NODE check
authorRobin Murphy <robin.murphy@arm.com>
Wed, 4 Sep 2024 18:41:54 +0000 (19:41 +0100)
committerWill Deacon <will@kernel.org>
Fri, 6 Sep 2024 11:58:06 +0000 (12:58 +0100)
commitf04b611e66503336bbdac04eb5a76d62932ce2e3
tree83ed657dde617bf1931889d386e55d4dbbea3f41
parent0dc2f4963f7ef187b80d832d7d88f735a9dc99cb
perf/arm-cmn: Clean up unnecessary NUMA_NO_NODE check

Checking for NUMA_NO_NODE is a misleading and, on reflection, entirely
unnecessary micro-optimisation. If it ever did happen that an incoming
CPU has no NUMA affinity while the current CPU does, a questionably-
useful PMU migration isn't the biggest thing wrong with that picture...

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/00634da33c21269a00844140afc7cc3a2ac1eb4d.1725474584.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm-cmn.c