From: Tim Abbott Date: Thu, 24 Sep 2009 14:36:16 +0000 (-0400) Subject: Optimize the ordering of sections in RW_DATA_SECTION. X-Git-Tag: v2.6.32-rc1~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b2086227cd1a24f748398c22ea9652c383499cf;p=pandora-kernel.git Optimize the ordering of sections in RW_DATA_SECTION. The old RW_DATA_SECTION had INIT_TASK_DATA (which was more-than-PAGE_SIZE-aligned), followed by a bunch of small alignment stuff, followed by more PAGE_SIZE-aligned stuff, so you wasted memory in the middle of .data re-aligning back up to PAGE_SIZE. This patch sorts the sections by alignment requirements, which should pack them essentially optimally. Signed-off-by: Tim Abbott Reviewed-by: Sam Ravnborg Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed