]> git.baikalelectronics.ru Git - kernel.git/commit
s390/purgatory: Reduce purgatory size
authorPhilipp Rudo <prudo@linux.ibm.com>
Tue, 5 Mar 2019 16:18:13 +0000 (17:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 29 Apr 2019 08:43:53 +0000 (10:43 +0200)
commit9bd44ed3a2a8cece96dd5522bd82e03e71c476a3
tree167546bfdced6b6d8e7bf9150cbff85e22392102
parenta5c33d54fe740015ff45ff1259f3fa9edbf07d01
s390/purgatory: Reduce purgatory size

The purgatory is compiled into the vmlinux and keept in memory all the time
during runtime. Thus any section not needed to load the purgatory
unnecessarily bloats up its foot print in file- and memorysize. Reduce the
purgatory size by stripping the unneeded sections from the purgatory.

This reduces the purgatories size by ~33%.

Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/purgatory/Makefile
arch/s390/purgatory/purgatory.lds.S [new file with mode: 0644]