Re: [PATCH 1/2 v3] media: vb2: support userptr for PFN mappings.

2012-01-04 Thread Laurent Pinchart
Hi Javier, Thanks for the patch. On Wednesday 04 January 2012 16:46:51 Javier Martin wrote: > Some video devices need to use contiguous memory > which is not backed by pages as it happens with > vmalloc. This patch provides userptr handling for > those devices. > > --- > Changes since v2: > - D

[PATCH 1/2 v3] media: vb2: support userptr for PFN mappings.

2012-01-04 Thread Javier Martin
Some video devices need to use contiguous memory which is not backed by pages as it happens with vmalloc. This patch provides userptr handling for those devices. --- Changes since v2: - Do not grab mm->mmap_sem. Signed-off-by: Javier Martin --- drivers/media/video/videobuf2-vmalloc.c | 71 ++