Re: [PATCHv2 RESEND 0/9] target: Save memory on unused se_dev_entrys and se_luns

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

 



On 05/01/2014 02:21 PM, Nicholas A. Bellinger wrote:

So now that target code (plus Sagi's patches) is finally working
correctly with active I/O shutdown with iser + friends, I'm not exactly
crazy about introducing a bunch of changes that potentially break long
standing assumptions about how se_lun + se_dev_entry pointers are
accessed.

This saves a huge amount of wasted memory per nodeacl and per tpg. It's a net reduction of 120 lines of code.

If you wanted to push the iser work to Linus by itself, maybe this goes into your tree immediately after that? That would give it plenty of time in your tree before it went upstream.

That said, I'd much rather see proper percpu refcounting for
se_dev_entry introduced ahead of these types of memory space related
optimizations.

These patches are not refcount-related, so they should be orthogonal to any refcount improvements.

I think the set from March 24 should still apply, but I'm happy to re-send or post a repo if that would be helpful to you.

Regards -- Andy

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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux