Re: [patch] do_no_pfn handler

From: Carsten Otte
Date: Tue Apr 11 2006 - 11:27:47 EST


Linus Torvalds wrote:
> At the very least, it would also need a
>
> BUG_ON(is_cow_mapping(vma->vm_flags));
>
> (or at least make it return VM_FAULT_SIGBUS). Because a COW mapping _will_
> confuse the VM and cause it to do random bad things in vm_normal_page().
That leaves my use-case out for now. I will need COW for my mapping when
switching to this interface. Looks like a lot of things need rethinking
in memory.c for COW with no struct page behind.
--

Carsten Otte
IBM Linux technology center
ARCH=s390
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/