Re: [PATCH 2/6] Target: Use array_zalloc for device_list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-03-15 at 15:05 -0400, Jörn Engel wrote:
> 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.
> 
> Signed-off-by: Joern Engel <joern@xxxxxxxxx>
> ---
>  drivers/target/target_core_device.c          |   22 ++++++++--------
>  drivers/target/target_core_fabric_configfs.c |    6 ++--
>  drivers/target/target_core_pr.c              |   14 +++++-----
>  drivers/target/target_core_stat.c            |   36 +++++++++++++-------------
>  drivers/target/target_core_tpg.c             |    8 +++---
>  drivers/target/target_core_ua.c              |    8 +++---
>  include/target/target_core_base.h            |    2 +-
>  7 files changed, 48 insertions(+), 48 deletions(-)
> 

Looks good Joern.

Applied some minor lio-core patch fuzz..

Thanks!

--nab

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux