Re: [PATCH] scsi: target: tcmu: allocate zeroed pages for data area

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

 



On Wed, 13 Oct 2021 19:16:06 +0200, Bodo Stroesser wrote:

> Tcmu populates the data area (used for communication with
> userspace) with pages that are allocated by calling
> alloc_page(GFP_NOIO).
> Therefore previous content of the allocated pages is exposed
> to user space. Avoid this by adding __GFP_ZERO flag.
> 
> Zeroing the pages does (nearly) not affect tcmu throughput,
> because allocated pages are re-used for the data transfers of
> later SCSI cmds.
> 
> [...]

Applied to 5.16/scsi-queue, thanks!

[1/1] scsi: target: tcmu: allocate zeroed pages for data area
      https://git.kernel.org/mkp/scsi/c/1d2ac7b69d6a

-- 
Martin K. Petersen	Oracle Linux Engineering



[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