Messages in this thread Patch in this message | | | Date | Thu, 17 Nov 2005 19:40:14 +0000 (GMT) | From | Hugh Dickins <> | Subject | [PATCH 11/11] unpaged: copy_page_range vma |
| |
For copy_one_pte's print_bad_pte to show the task correctly (instead of "???"), dup_mmap must pass down parent vma rather than child vma.
Signed-off-by: Hugh Dickins <hugh@veritas.com> ---
kernel/fork.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
--- unpaged10/kernel/fork.c 2005-11-17 13:53:21.000000000 +0000 +++ unpaged11/kernel/fork.c 2005-11-17 15:12:25.000000000 +0000 @@ -263,7 +263,7 @@ static inline int dup_mmap(struct mm_str rb_parent = &tmp->vm_rb; mm->map_count++; - retval = copy_page_range(mm, oldmm, tmp); + retval = copy_page_range(mm, oldmm, mpnt); if (tmp->vm_ops && tmp->vm_ops->open) tmp->vm_ops->open(tmp); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |