]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
powerpc/numa: Print debug statements only when required
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Thu, 26 Aug 2021 10:05:19 +0000 (15:35 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 26 Aug 2021 14:56:54 +0000 (00:56 +1000)
commit544a09ee7434b949552266d20ece538d35535bd5
tree6274e8619a0ca403371110048744f7ef6f991a47
parent506c2075ffd8db352c53201ef166948a272e3bce
powerpc/numa: Print debug statements only when required

Currently, a debug message gets printed every time an attempt to
add(remove) a CPU. However this is redundant if the CPU is already added
(removed) from the node.

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210826100521.412639-4-srikar@linux.vnet.ibm.com
arch/powerpc/mm/numa.c