RE: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-17 Thread Marek Szyprowski
Hello, On Wednesday, August 17, 2011 2:03 AM Jonathan Corbet wrote: > On Tue, 16 Aug 2011 12:34:56 +0200 > Marek Szyprowski wrote: > > > Right, I wasn't aware of that, but it still doesn't look like an issue. The only > > > > client of dma-sg allocator is marvell-ccic, which is used on x86 syst

Re: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-16 Thread Jonathan Corbet
On Tue, 16 Aug 2011 12:34:56 +0200 Marek Szyprowski wrote: > Right, I wasn't aware of that, but it still doesn't look like an issue. The > only > > client of dma-sg allocator is marvell-ccic, which is used on x86 systems. If > one > needs dma-sg allocator on ARM, he should follow the suggestio

RE: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-16 Thread Marek Szyprowski
Hello, On Tuesday, August 16, 2011 1:02 PM Laurent Pinchart wrote: > On Tuesday 16 August 2011 12:34:56 Marek Szyprowski wrote: > > On Tuesday, August 16, 2011 10:42 AM Laurent Pinchart wrote: > > > On Tuesday 16 August 2011 07:35:05 Marek Szyprowski wrote: > > > > On Friday, August 12, 2011 11:5

Re: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-16 Thread Laurent Pinchart
Hi Marek, On Tuesday 16 August 2011 12:34:56 Marek Szyprowski wrote: > On Tuesday, August 16, 2011 10:42 AM Laurent Pinchart wrote: > > On Tuesday 16 August 2011 07:35:05 Marek Szyprowski wrote: > > > On Friday, August 12, 2011 11:55 PM Laurent Pinchart wrote: > > > > On Wednesday 10 August 2011 1

RE: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-16 Thread Marek Szyprowski
Hello, On Tuesday, August 16, 2011 10:42 AM Laurent Pinchart wrote: > On Tuesday 16 August 2011 07:35:05 Marek Szyprowski wrote: > > On Friday, August 12, 2011 11:55 PM Laurent Pinchart wrote: > > > On Wednesday 10 August 2011 10:23:37 Marek Szyprowski wrote: > > > > From: Andrzej Pietrasiewicz

Re: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-16 Thread Laurent Pinchart
Hi Marek, On Tuesday 16 August 2011 07:35:05 Marek Szyprowski wrote: > On Friday, August 12, 2011 11:55 PM Laurent Pinchart wrote: > > On Wednesday 10 August 2011 10:23:37 Marek Szyprowski wrote: > > > From: Andrzej Pietrasiewicz > > > > > > Scatter-gather lib provides a helper functions to allo

RE: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-15 Thread Marek Szyprowski
Hello, On Friday, August 12, 2011 11:55 PM Laurent Pinchart wrote: > On Wednesday 10 August 2011 10:23:37 Marek Szyprowski wrote: > > From: Andrzej Pietrasiewicz > > > > Scatter-gather lib provides a helper functions to allocate scatter list, > > so there is no need to use vmalloc for it. sg_all

Re: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-12 Thread Laurent Pinchart
Hi, On Wednesday 10 August 2011 10:23:37 Marek Szyprowski wrote: > From: Andrzej Pietrasiewicz > > Scatter-gather lib provides a helper functions to allocate scatter list, > so there is no need to use vmalloc for it. sg_alloc_table() splits > allocation into page size chunks and links them toget