From: Heiko Carstens Date: Thu, 5 Dec 2013 11:42:09 +0000 (+0100) Subject: s390/smp: reduce memory consumption of pcpu_devices array X-Git-Tag: v3.14-rc1~184^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96619fc1b3d06703113ab4c5cd8c15f35a42dc99;p=pandora-kernel.git s390/smp: reduce memory consumption of pcpu_devices array Remove the embedded struct cpu from struct pcpu and replace it with a pointer instead. The struct cpu now gets allocated when a new cpu gets detected. The size of the pcpu_devices array (NR_CPUS * sizeof(struct pcpu)) gets reduced by nearly 120KB. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed