Re: [LKML] Re: [PATCH v3] ad7877: keep dma rx buffers in seperate cache lines

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Weiner
Date: Wednesday, May 19, 2010 - 8:00 am

On Wed, May 19, 2010 at 11:52:26PM +1000, Nick Piggin wrote:

In this case, the slave driver does not know whether the master driver
is even using DMA.  That's the reason we do not use dma_alloc_* for
the buffers in the first place.  And that's why I'd prefer to leave
the slave agnostic about it.  Use kmalloc(), don't worry about the
details.

Of course, there may still be more appropriate users for the macro,
that's why I asked.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] ad7877: fix spi word size to 16 bit, Oskar Schirmer, (Thu May 6, 3:37 am)
RE: [PATCH] ad7877: fix spi word size to 16 bit, Hennerich, Michael, (Thu May 6, 4:18 am)
Re: [PATCH] ad7877: fix spi word size to 16 bit, Mike Frysinger, (Thu May 6, 11:26 am)
Re: [PATCH] ad7877: fix spi word size to 16 bit, Daniel Glöckner, (Fri May 7, 2:41 am)
Re: [PATCH] ad7877: fix spi word size to 16 bit, Mike Frysinger, (Fri May 7, 11:23 am)
Re: [PATCH v3] ad7877: keep dma rx buffers in seperate cac ..., Christoph Lameter, (Tue May 11, 6:57 am)
Re: [PATCH v3] ad7877: keep dma rx buffers in seperate cac ..., Christoph Lameter, (Tue May 11, 1:21 pm)
Re: [PATCH v3] ad7877: keep dma rx buffers in seperate cac ..., Christoph Lameter, (Tue May 11, 1:46 pm)
Re: [PATCH] ad7877: fix spi word size to 16 bit, Dmitry Torokhov, (Thu May 13, 12:53 am)
Re: [PATCH] ad7877: fix spi word size to 16 bit, Oskar Schirmer, (Sat May 15, 11:15 am)
Re: [PATCH] ad7877: fix spi word size to 16 bit, Mike Frysinger, (Sun May 16, 12:25 pm)
Re: [PATCH] ad7877: fix spi word size to 16 bit, Oskar Schirmer, (Mon May 17, 12:29 am)
RE: [PATCH] ad7877: fix spi word size to 16 bit, Hennerich, Michael, (Mon May 17, 1:14 am)
Re: [PATCH] ad7877: fix spi word size to 16 bit, Oskar Schirmer, (Mon May 17, 1:41 am)
Re: [PATCH] ad7877: fix spi word size to 16 bit, Mike Frysinger, (Mon May 17, 4:49 pm)
RE: [PATCH] ad7877: fix spi word size to 16 bit, H Hartley Sweeten, (Mon May 17, 5:18 pm)
Re: [PATCH] ad7877: fix spi word size to 16 bit, Oskar Schirmer, (Tue May 18, 1:32 am)
[PATCH v2] ad7877: fix spi word size to 16 bit, Oskar Schirmer, (Tue May 18, 1:34 am)
Re: [PATCH] ad7877: fix spi word size to 16 bit, Daniel Glöckner, (Tue May 18, 2:37 am)
Re: [LKML] Re: [PATCH v3] ad7877: keep dma rx buffers in s ..., Johannes Weiner, (Wed May 19, 8:00 am)