patch-2.1.38 linux/fs/exec.c

Next file: linux/fs/file_table.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.37/linux/fs/exec.c linux/fs/exec.c
@@ -393,6 +393,7 @@
 		*mm = *current->mm;
 		init_new_context(mm);
 		mm->def_flags = 0;	/* should future lockings be kept? */
+		mm->cpu_vm_mask = (1 << smp_processor_id());
 		mm->count = 1;
 		mm->mmap = mm->mmap_cache = NULL;
 		mm->total_vm = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov