From: David S. Miller Date: Thu, 14 Feb 2008 00:57:09 +0000 (-0800) Subject: [LMB]: Fix bug in __lmb_alloc_base(). X-Git-Tag: v2.6.26-rc1~1125^2~157^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eea89e13a9c61d3928223d2f9bf2295e22e0efb6;p=pandora-kernel.git [LMB]: Fix bug in __lmb_alloc_base(). We need to check lmb_add_region() for errors, it can run out of regions etc. Also, the size needs to be padded to the given alignment or else the lmb.reserved regions don't get expanded and instead we get tons of holes and eventually run out of regions prematurely. Signed-off-by: David S. Miller --- Reading git-diff-tree failed