On Tue, May 05, 2009 at 02:05:17PM -0700, Andrew Morton wrote:
> On Tue, 5 May 2009 22:38:07 +0200
> Johannes Weiner wrote:
>
> > On Tue, May 05, 2009 at 12:24:42PM -0700, Andrew Morton wrote:
> > > On Mon, 4 May 2009 11:54:32 +0200
> > > Johannes Weiner
On Tue, May 05, 2009 at 12:24:42PM -0700, Andrew Morton wrote:
> On Mon, 4 May 2009 11:54:32 +0200
> Johannes Weiner wrote:
>
> > A generic readonly page table lookup helper to map an address space
> > and an address from it to a pte.
>
> umm, OK.
>
> Is t
Analoguous to follow_phys(), add a helper that looks up the PFN at a
user virtual address in an IO mapping or a raw PFN mapping.
Signed-off-by: Johannes Weiner
---
include/linux/mm.h |2 ++
mm/memory.c| 29 +
2 files changed, 31 insertions(+), 0
On Mon, May 04, 2009 at 11:54:33AM +0200, Johannes Weiner wrote:
> Signed-off-by: Johannes Weiner
> ---
> mm/memory.c | 37 ++---
> 1 files changed, 6 insertions(+), 31 deletions(-)
>
> diff --git a/mm/memory.c b/mm/memory.c
> index a6
Analoguous to follow_phys(), add a helper that looks up the PFN
instead. It also only allows IO mappings or PFN mappings.
Signed-off-by: Johannes Weiner
---
include/linux/mm.h |2 ++
mm/memory.c| 19 +++
2 files changed, 21 insertions(+), 0 deletions(-)
diff
A generic readonly page table lookup helper to map an address space
and an address from it to a pte.
Signed-off-by: Johannes Weiner
---
mm/memory.c | 37 +
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/mm/memory.c b/mm/memory.c
index
Signed-off-by: Johannes Weiner
---
mm/memory.c | 37 ++---
1 files changed, 6 insertions(+), 31 deletions(-)
diff --git a/mm/memory.c b/mm/memory.c
index a621319..aee167d 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -3051,50 +3051,25 @@ int follow_phys(struct
On Fri, May 01, 2009 at 12:26:38PM +0900, Magnus Damm wrote:
> On Tue, Apr 28, 2009 at 6:01 PM, Magnus Damm wrote:
> > This is V2 of the V4L2 videobuf-dma-contig USERPTR zero copy patch.
>
> I guess the V4L2 specific bits are pretty simple.
>
> As for the minor mm modifications below,
>
> > ---
On Mon, Apr 20, 2009 at 07:00:03PM +0900, Magnus Damm wrote:
> From: Magnus Damm
>
> Zero copy video frame capture from user space using V4L2 USERPTR.
>
> This patch adds USERPTR support to the videobuf-dma-contig buffer code.
> Since videobuf-dma-contig is designed to handle physically contiguo