Re: [patch 2/2] mspec driver

From: Nick Piggin <>
Date: 2006-03-18 00:36:40
Jes Sorensen wrote:

> +static int
> +mspec_mmap(struct file *file, struct vm_area_struct *vma, int type)


> +	vma->vm_flags |= (VM_IO | VM_LOCKED | VM_RESERVED | VM_PFNMAP);

VM_PFNMAP actually has a fairly specific meaning [unlike the rest of
them :)] so you should be careful with it. Actually if you set vm_pgoff
in the right way, then that should enable you to do COWs on these areas
if that is what you want.

SUSE Labs, Novell Inc.
Send instant messages to your online friends 

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Sat Mar 18 00:37:20 2006

This archive was generated by hypermail 2.1.8 : 2006-03-18 00:37:29 EST