]> git.baikalelectronics.ru Git - kernel.git/commit
s390/smp: do not preserve boot CPU lowcore on hotplug
authorAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 6 May 2021 14:26:53 +0000 (16:26 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Jun 2021 15:07:00 +0000 (17:07 +0200)
commit1fe70cd4b56f93fe4b0995d3d96405e51ac4e774
tree5201a0c2078733d0b8ec057833c3e3112e8d5f03
parent2ef2984b7a738182dec4b268a149b5a757f443a2
s390/smp: do not preserve boot CPU lowcore on hotplug

Once the kernel is running the boot CPU lowcore becomes
freeable and does not differ from the secondary CPU ones
in any way. Make use of it and do not preserve the boot
CPU lowcore on unplugging. That allows returning unused
memory when the boot CPU is offline and makes the code
more clear.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/smp.c