patch-2.3.99-pre9 linux/mm/highmem.c
Next file: linux/mm/memory.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon May 15 10:47:34 2000
- Orig file:
v2.3.99-pre8/linux/mm/highmem.c
- Orig date:
Fri May 12 14:18:56 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/mm/highmem.c linux/mm/highmem.c
@@ -60,7 +60,7 @@
* ok, we can just forget about our highmem page since
* we stored its data into the new regular_page.
*/
- __free_page(page);
+ page_cache_release(page);
new_page = mem_map + MAP_NR(regular_page);
LockPage(new_page);
return new_page;
@@ -78,7 +78,7 @@
if (!highpage)
return page;
if (!PageHighMem(highpage)) {
- __free_page(highpage);
+ page_cache_release(highpage);
return page;
}
@@ -94,7 +94,7 @@
* We can just forget the old page since
* we stored its data into the new highmem-page.
*/
- __free_page(page);
+ page_cache_release(page);
return highpage;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)