aboutsummaryrefslogtreecommitdiff
path: root/lib/interval_tree_test_main.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-12-05 12:42:09 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-12-16 14:37:46 +0100
commit96619fc1b3d06703113ab4c5cd8c15f35a42dc99 (patch)
treed18560fb13cde7f780edc6069df05a8d6349ce5a /lib/interval_tree_test_main.c
parent03439e7d0a7ab3d77a74523b9ba64736c0fc28de (diff)
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 <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/interval_tree_test_main.c')
0 files changed, 0 insertions, 0 deletions