--- linux-2.6.8.1-vs1.9.2.20/kernel/fork.c 2004-08-20 22:13:11.000000000 +0200 +++ linux-2.6.8.1-vs1.9.2.17-P2/kernel/fork.c 2004-08-24 06:31:35.000000000 +0200 @@ -423,7 +423,6 @@ static struct mm_struct * mm_init(struct if (likely(!mm_alloc_pgd(mm))) { mm->def_flags = 0; - set_vx_info(&mm->mm_vx_info, current->vx_info); return mm; } free_mm(mm); @@ -577,6 +576,7 @@ static int copy_mm(unsigned long clone_f if (init_new_context(tsk,mm)) goto fail_nocontext; + set_vx_info(&mm->mm_vx_info, current->vx_info); retval = dup_mmap(mm, oldmm); if (retval) goto free_pt;