summaryrefslogtreecommitdiff
path: root/drivers/target/iscsi/iscsi_target_nego.c
diff options
context:
space:
mode:
authorJörn Engel <joern@logfs.org>2012-03-15 23:05:40 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-03-16 06:15:51 +0400
commitf2083241f23722207676025abbb45a301d412e69 (patch)
treec340376faf2a1eebe0983075adee2a3c8070c064 /drivers/target/iscsi/iscsi_target_nego.c
parent4a5a75f32dcbcd0b2685f74fd4ede26edf8765a9 (diff)
downloadlinux-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