patch-1.3.25 linux/mm/memory.c
Next file: linux/net/Changes
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sat Sep 9 09:37:24 1995
- Orig file:
v1.3.24/linux/mm/memory.c
- Orig date:
Thu Sep 7 17:17:20 1995
diff -u --recursive --new-file v1.3.24/linux/mm/memory.c linux/mm/memory.c
@@ -199,11 +199,11 @@
return;
}
SET_PAGE_DIR(tsk, swapper_pg_dir);
- tsk->mm->pgd = swapper_pg_dir;
if (pgd_inuse(page_dir)) {
pgd_free(page_dir);
return;
}
+ tsk->mm->pgd = swapper_pg_dir; /* or else... */
for (i = 0 ; i < PTRS_PER_PGD ; i++)
free_one_pgd(page_dir + i);
pgd_free(page_dir);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this