Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-07 Thread Robert P. J. Day
On Wed, 6 Jun 2007, Peter Zijlstra wrote: ... > FWIW I prefer: > > GFP_KERNEL | __GFP_DMA > GFP_ATOMIC | __GFP_DMA > > and > > GFP_DMA > > That is, when used as a modifier use __GFP_, when used as a class > use GFP_. that sounds eminently reasonable, i'll go with that. rday --

Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-07 Thread Robert P. J. Day
On Wed, 6 Jun 2007, Peter Zijlstra wrote: ... FWIW I prefer: GFP_KERNEL | __GFP_DMA GFP_ATOMIC | __GFP_DMA and GFP_DMA That is, when used as a modifier use __GFP_, when used as a class use GFP_. that sounds eminently reasonable, i'll go with that. rday --

Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-06 Thread Peter Zijlstra
On Wed, 2007-06-06 at 03:56 -0400, Robert P. J. Day wrote: > On Tue, 5 Jun 2007, Andrew Morton wrote: > > > On Tue, 5 Jun 2007 16:58:57 -0400 (EDT) > > "Robert P. J. Day" <[EMAIL PROTECTED]> wrote: > > > > > Replace a couple calls to __get_free_pages() with the corresponding > > > calls to

Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-06 Thread Robert P. J. Day
On Tue, 5 Jun 2007, Andrew Morton wrote: > On Tue, 5 Jun 2007 16:58:57 -0400 (EDT) > "Robert P. J. Day" <[EMAIL PROTECTED]> wrote: > > > Replace a couple calls to __get_free_pages() with the corresponding > > calls to __get_dma_pages(). > > > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]>

Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-06 Thread rae l
On 6/6/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Tue, 5 Jun 2007 16:58:57 -0400 (EDT) "Robert P. J. Day" <[EMAIL PROTECTED]> wrote: > Replace a couple calls to __get_free_pages() with the corresponding > calls to __get_dma_pages(). > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> >

Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-06 Thread Robert P. J. Day
On Tue, 5 Jun 2007, Andrew Morton wrote: > On Tue, 5 Jun 2007 16:58:57 -0400 (EDT) > "Robert P. J. Day" <[EMAIL PROTECTED]> wrote: > > > Replace a couple calls to __get_free_pages() with the corresponding > > calls to __get_dma_pages(). > > > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]>

Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-06 Thread Robert P. J. Day
On Tue, 5 Jun 2007, Andrew Morton wrote: On Tue, 5 Jun 2007 16:58:57 -0400 (EDT) Robert P. J. Day [EMAIL PROTECTED] wrote: Replace a couple calls to __get_free_pages() with the corresponding calls to __get_dma_pages(). Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] ---

Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-06 Thread rae l
On 6/6/07, Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 5 Jun 2007 16:58:57 -0400 (EDT) Robert P. J. Day [EMAIL PROTECTED] wrote: Replace a couple calls to __get_free_pages() with the corresponding calls to __get_dma_pages(). Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] ---

Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-06 Thread Robert P. J. Day
On Tue, 5 Jun 2007, Andrew Morton wrote: On Tue, 5 Jun 2007 16:58:57 -0400 (EDT) Robert P. J. Day [EMAIL PROTECTED] wrote: Replace a couple calls to __get_free_pages() with the corresponding calls to __get_dma_pages(). Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] ---

Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-06 Thread Peter Zijlstra
On Wed, 2007-06-06 at 03:56 -0400, Robert P. J. Day wrote: On Tue, 5 Jun 2007, Andrew Morton wrote: On Tue, 5 Jun 2007 16:58:57 -0400 (EDT) Robert P. J. Day [EMAIL PROTECTED] wrote: Replace a couple calls to __get_free_pages() with the corresponding calls to __get_dma_pages().

Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-05 Thread Andrew Morton
On Tue, 5 Jun 2007 16:58:57 -0400 (EDT) "Robert P. J. Day" <[EMAIL PROTECTED]> wrote: > Replace a couple calls to __get_free_pages() with the corresponding > calls to __get_dma_pages(). > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> > > --- > > that's the lot of them. > > diff

[PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-05 Thread Robert P. J. Day
Replace a couple calls to __get_free_pages() with the corresponding calls to __get_dma_pages(). Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- that's the lot of them. diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 10c13ad..8fc38dc 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@

[PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-05 Thread Robert P. J. Day
Replace a couple calls to __get_free_pages() with the corresponding calls to __get_dma_pages(). Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- that's the lot of them. diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 10c13ad..8fc38dc 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@

Re: [PATCH] lib: Replace calls to __get_free_pages() with __get_dma_pages().

2007-06-05 Thread Andrew Morton
On Tue, 5 Jun 2007 16:58:57 -0400 (EDT) Robert P. J. Day [EMAIL PROTECTED] wrote: Replace a couple calls to __get_free_pages() with the corresponding calls to __get_dma_pages(). Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- that's the lot of them. diff --git