diff options
| author | Alexander Gordeev <agordeev@linux.ibm.com> | 2021-05-06 16:26:52 +0200 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-06-07 17:07:00 +0200 |
| commit | 5789284710aa121416524acc54ac0d8c27c3c2ef (patch) | |
| tree | 75ff457c49a4d1a6525e2245eedc250e9729ba29 /tools/perf/scripts/python | |
| parent | s390/mm: ensure switch_mm() is executed with interrupts disabled (diff) | |
| download | linux-5789284710aa121416524acc54ac0d8c27c3c2ef.tar.gz linux-5789284710aa121416524acc54ac0d8c27c3c2ef.zip | |
s390/smp: reallocate IPL CPU lowcore
The lowcore for IPL CPU is special. It is allocated early
in the boot process using memblock and never freed since.
The reason is pcpu_alloc_lowcore() and pcpu_free_lowcore()
routines use page allocator which is not available when
the IPL CPU is getting initialized.
Similar problem is already addressed for stacks - once the
virtual memory is available the early boot stacks get re-
allocated. Doing the same for lowcore will allow freeing
the IPL CPU lowcore and make no difference between the
boot and secondary CPUs.
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
