diff options
author | Jörn Engel | 2012-03-15 20:05:12 +0100 |
---|---|---|
committer | Nicholas Bellinger | 2012-03-16 03:15:38 +0100 |
commit | 4a5a75f32dcbcd0b2685f74fd4ede26edf8765a9 (patch) | |
tree | 9c05e0df5d2cfe06ed490ce763347f65aaf64c6a /drivers/target/target_core_stat.c | |
parent | target: Fix sense code for unsupported SERVICE ACTION IN (diff) | |
download | kernel-qcow2-linux-4a5a75f32dcbcd0b2685f74fd4ede26edf8765a9.tar.gz kernel-qcow2-linux-4a5a75f32dcbcd0b2685f74fd4ede26edf8765a9.tar.xz kernel-qcow2-linux-4a5a75f32dcbcd0b2685f74fd4ede26edf8765a9.zip |
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 <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_stat.c')
0 files changed, 0 insertions, 0 deletions