From: Jörn Engel Date: Thu, 15 Mar 2012 19:05:12 +0000 (-0400) Subject: target: Use array_zalloc for tpg_lun_list X-Git-Tag: v3.4-rc1~146^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a5a75f32dcbcd0b2685f74fd4ede26edf8765a9;p=pandora-kernel.git target: Use array_zalloc for tpg_lun_list Turns an order-10 allocation into slab-sized ones, thereby preventing allocation failures with memory fragmentation. This likely saves memory as well, as the slab allocator can pack objects more tightly than the buddy allocator. Signed-off-by: Joern Engel Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed