From: Heesub Shin Date: Fri, 30 May 2014 01:26:30 +0000 (+0900) Subject: staging: ion: optimize struct ion_system_heap X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1786 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6944561ece14d865238d14e40da858efb29dc2e8;p=pandora-kernel.git staging: ion: optimize struct ion_system_heap struct ion_system_heap has an array for storing pointers to page pools and it is allocated separately from the containing structure. There is no point in allocating those two small objects individually, bothering slab allocator. Using a variable length array simplifies code lines and reduces overhead to the slab. Signed-off-by: Heesub Shin Reviewed-by: Mitchel Humpherys Tested-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed