Re: [PATCH] [13/21] Use blk_q_mask/get_pages_mask in sg driver

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

 



> > I would rather prefer to fix the driver to always GFP_DMA, but I am
> > not aware of any driver who needs it. Are you?
> 
> Well, theoretically, there migth be an user who want these ioctl with
> all the drivers that are not capable of 64bit DMA since sg allocates
> the reserved buffer with GFP_KERNEL. These driver might use the
> block-layer bounce buffer. Users might want to use
> SG_SET_FORCE_LOW_DMA to avoid the bounce buffer latency.

But that would force everything through the 16MB zone,
putting a lot of pressure on it and might even overflow on some
loads. I don't think that's a good strategy for any application.

-Andi
-- 
ak@xxxxxxxxxxxxxxx
--
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