Re: SCSI breakage on non-cache coherent architectures

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Benjamin Herrenschmidt
Date: Monday, November 19, 2007 - 5:34 pm

On Mon, 2007-11-19 at 14:31 -0800, David Miller wrote:

James preference seem to go for a revert of the patch that removed the
kmalloc of the buffer instead. Sounds definitely like an easier plan
for .24 (and maybe even backport to stable).

I'll produce a patch for that later today or tomorrow.

Do you still think we should introduce this __dma_cacheline_aligned ? Do
you see other cases of drivers where it would be useful ? It tend to
agree with your earlier statement that drivers doing that are broken and
should be using a separate allocator for DMA'ble objects (in fact, on
non-cache coherent archs, kmalloc is just fine).

Cheers,
Ben.


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: SCSI breakage on non-cache coherent architectures, David Miller, (Mon Nov 19, 1:38 am)
Re: SCSI breakage on non-cache coherent architectures, Matthew Wilcox, (Mon Nov 19, 5:32 am)
Re: SCSI breakage on non-cache coherent architectures, James Bottomley, (Mon Nov 19, 8:09 am)
Re: SCSI breakage on non-cache coherent architectures, Benjamin Herrenschmidt, (Mon Nov 19, 12:51 pm)
Re: SCSI breakage on non-cache coherent architectures, Benjamin Herrenschmidt, (Mon Nov 19, 12:53 pm)
Re: SCSI breakage on non-cache coherent architectures, Benjamin Herrenschmidt, (Mon Nov 19, 12:54 pm)
Re: SCSI breakage on non-cache coherent architectures, Benjamin Herrenschmidt, (Mon Nov 19, 12:55 pm)
Re: SCSI breakage on non-cache coherent architectures, Benjamin Herrenschmidt, (Mon Nov 19, 2:55 pm)
Re: SCSI breakage on non-cache coherent architectures, Benjamin Herrenschmidt, (Mon Nov 19, 5:34 pm)
Re: SCSI breakage on non-cache coherent architectures, Benjamin Herrenschmidt, (Mon Nov 19, 5:55 pm)
Re: SCSI breakage on non-cache coherent architectures, David Miller, (Mon Nov 19, 5:57 pm)
Re: SCSI breakage on non-cache coherent architectures, Roland Dreier, (Mon Nov 19, 7:10 pm)
Re: SCSI breakage on non-cache coherent architectures, Benjamin Herrenschmidt, (Mon Nov 19, 7:35 pm)
Re: SCSI breakage on non-cache coherent architectures, Benjamin Herrenschmidt, (Mon Nov 19, 8:14 pm)
Re: SCSI breakage on non-cache coherent architectures, Thomas Bogendoerfer, (Tue Nov 20, 1:29 am)
Re: SCSI breakage on non-cache coherent architectures, James Bottomley, (Tue Nov 20, 7:36 am)
Re: SCSI breakage on non-cache coherent architectures, James Bottomley, (Tue Nov 20, 12:35 pm)
Re: SCSI breakage on non-cache coherent architectures, Roland Dreier, (Tue Nov 20, 1:05 pm)
Re: SCSI breakage on non-cache coherent architectures, James Bottomley, (Tue Nov 20, 2:10 pm)
Re: SCSI breakage on non-cache coherent architectures, Benjamin Herrenschmidt, (Tue Nov 20, 3:39 pm)
Re: SCSI breakage on non-cache coherent architectures, James Bottomley, (Tue Nov 20, 4:09 pm)