patch-2.1.19 linux/mm/mmap.c
Next file: linux/Documentation/Configure.help
Previous file: linux/kernel/fork.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon Dec 30 11:56:18 1996
- Orig file:
v2.1.18/linux/mm/mmap.c
- Orig date:
Sun Dec 22 16:37:42 1996
diff -u --recursive --new-file v2.1.18/linux/mm/mmap.c linux/mm/mmap.c
@@ -310,7 +310,7 @@
if (len > TASK_SIZE)
return 0;
if (!addr)
- addr = TASK_SIZE / 3;
+ addr = TASK_UNMAPPED_BASE;
addr = PAGE_ALIGN(addr);
for (vmm = find_vma(current->mm, addr); ; vmm = vmm->vm_next) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov