]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/smp: reduce size of struct pcpu
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 11 Feb 2015 11:31:03 +0000 (12:31 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 12 Feb 2015 08:37:23 +0000 (09:37 +0100)
commit2f859d0dad818765117c1cecb24b3bc7f4592074
treea7e3fdad459eaeaeabb04a67d2bdb568511f80ff
parentda0c636ea79380c2001f319844e9a237cf211f96
s390/smp: reduce size of struct pcpu

Reduce the size of struct pcpu, since the pcpu_devices array consists
of NR_CPUS elements of type struct pcpu. For most machines this is just
a waste of memory.
So let's try to make it a bit smaller.
This saves 16k with performance_defconfig.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/smp.c