Re: [PATCH 06/42] target: Don't pass dma_size to generic_get_mem. Don't memset.

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

 



On 05/30/2011 11:22 PM, Nicholas A. Bellinger wrote:
> Also, being able to drop the memset() for the get_free_pages() payload
> is really nice.  Just to clarify, is this because get_free_pages() is
> already clearing the payloads itself, or because we always expect the
> fabric driver to set the payloads regardless..?

The latter. If we're doing it right, the previous contents of the pages
will get overwritten, or never accessed, and the memset is avoided.

-- Andy
--
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