Re: [PATCH v2]videobuf_dma_sg: a new implementation for mmap

2010-07-29 Thread Figo.zhang
hi Laurent, would you like to test this patch? btw, why i send the patch , patchwork websit display a part of my patch? https://patchwork.kernel.org/patch/114760/ Best, Figo.zhang On Wed, 2010-07-28 at 21:08 +0800, Figo.zhang wrote: a mmap issue for videobuf-dma-sg: it will alloc a new page

Re: [PATCH v2]videobuf_dma_sg: a new implementation for mmap

2010-07-29 Thread Mauro Carvalho Chehab
Em 29-07-2010 10:38, Figo.zhang escreveu: btw, why i send the patch , patchwork websit display a part of my patch? https://patchwork.kernel.org/patch/114760/ Because your emailer broke long lines, mangling part of your patch. The way you sent, it will fail to apply. Please, re-send it, being

Re: [PATCH v2]videobuf_dma_sg: a new implementation for mmap

2010-07-29 Thread Laurent Pinchart
Hi, On Wednesday 28 July 2010 15:08:24 Figo.zhang wrote: a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when it encounter page fault at video_vm_ops-fault(). a new implementation for mmap, it translate the vmalloc to page at video_vm_ops-fault(). in v2, if

[PATCH v2]videobuf_dma_sg: a new implementation for mmap

2010-07-28 Thread Figo.zhang
a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when it encounter page fault at video_vm_ops-fault(). a new implementation for mmap, it translate the vmalloc to page at video_vm_ops-fault(). in v2, if mem-dma.vmalloc is NULL at video_vm_ops-fault(), it will alloc memory by

[PATCH v2]videobuf_dma_sg: a new implementation for mmap

2010-07-28 Thread Figo.zhang
a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when it encounter page fault at video_vm_ops-fault(). a new implementation for mmap, it translate the vmalloc to page at video_vm_ops-fault(). in v2, if mem-dma.vmalloc is NULL at video_vm_ops-fault(), it will alloc memory by