From: Tejun Heo Date: Thu, 8 Dec 2011 18:22:08 +0000 (-0800) Subject: memblock: Track total size of regions automatically X-Git-Tag: v3.3-rc1~195^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1440c4e2c918532f39131c3330fe2226e16be7b6;p=pandora-kernel.git memblock: Track total size of regions automatically Total size of memory regions was calculated by memblock_analyze() requiring explicitly calling the function between operations which can change memory regions and possible users of total size, which is cumbersome and fragile. This patch makes each memblock_type track total size automatically with minor modifications to memblock manipulation functions and remove requirements on calling memblock_analyze(). [__]memblock_dump_all() now also dumps the total size of reserved regions. Signed-off-by: Tejun Heo Cc: Benjamin Herrenschmidt Cc: Yinghai Lu --- Reading git-diff-tree failed