]> git.baikalelectronics.ru Git - kernel.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)
commita570958ee7f87e4fd2caf4e7f0ca582af8726017
treea7e3fdad459eaeaeabb04a67d2bdb568511f80ff
parentf02fac72a445431d631435ed712ca93eed335f21
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