commit | f2083241f23722207676025abbb45a301d412e69 | [log] [tgz] |
---|---|---|
author | Jörn Engel <joern@logfs.org> | Thu Mar 15 15:05:40 2012 -0400 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Thu Mar 15 19:15:51 2012 -0700 |
tree | c340376faf2a1eebe0983075adee2a3c8070c064 | |
parent | 4a5a75f32dcbcd0b2685f74fd4ede26edf8765a9 [diff] |
target: Use array_zalloc for device_list Turns an order-8 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. (nab: Fix lio-core patch fuzz) Signed-off-by: Joern Engel <joern@logfs.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>