Blackfin arch: move the init sections to the end of memory to help decrease memory...
authorRobin Getz <robin.getz@analog.com>
Thu, 15 Nov 2007 12:57:53 +0000 (20:57 +0800)
committerBryan Wu <bryan.wu@analog.com>
Thu, 15 Nov 2007 12:57:53 +0000 (20:57 +0800)
commit839e01c2bfba34f97ec36d0d355801e94254ffd5
tree286efca13b5b9e4dc195460f34409d703b7725c3
parent74ce8322bf8843e6fd04e081d361c107bcf73564
Blackfin arch: move the init sections to the end of memory to help decrease memory fragementation

move the init sections to the end of memory, so that after they
are free, run time memory is all continugous - this should help decrease
memory fragementation. When doing this, we also pack some of the other
sections a little closer together, to make sure we don't waste memory.
To make this happen, we need to rename the .data.init_task section to
.init_task.data, so it doesn't get picked up by the linker script glob.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/kernel/init_task.c
arch/blackfin/kernel/setup.c
arch/blackfin/kernel/vmlinux.lds.S