diff options
author | Jörn Engel <joern@logfs.org> | 2012-03-15 23:05:40 +0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-03-16 06:15:51 +0400 |
commit | f2083241f23722207676025abbb45a301d412e69 (patch) | |
tree | c340376faf2a1eebe0983075adee2a3c8070c064 /drivers/target/iscsi/iscsi_target_nego.c | |
parent | 4a5a75f32dcbcd0b2685f74fd4ede26edf8765a9 (diff) | |
download | linux-f2083241f23722207676025abbb45a301d412e69.tar.xz |
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>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_nego.c')
0 files changed, 0 insertions, 0 deletions