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