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]

 



On Mon, 17 Nov 2008 12:23:46 +0100
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

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

Yeah, I know. It's not nice (as I wrote in the first mail), it doesn't
work well, etc. But it's not the point (as I wrote in the previous
mail). I'm against the patch just because I don't think the rules
about the userspace API permit removing the exiting API like this.

If the rules permit, I'm happy to try to remove more old features of
sg.
--
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