patch-2.3.24 linux/mm/vmalloc.c
Next file: linux/mm/vmscan.c
Previous file: linux/mm/swapfile.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Mon Oct 25 20:49:42 1999
- Orig file:
v2.3.23/linux/mm/vmalloc.c
- Orig date:
Fri Oct 22 13:21:55 1999
diff -u --recursive --new-file v2.3.23/linux/mm/vmalloc.c linux/mm/vmalloc.c
@@ -42,7 +42,7 @@
__free_page(mem_map + map_nr);
continue;
}
- printk("Whee.. Swapped out page in kernel page table\n");
+ printk(KERN_CRIT "Whee.. Swapped out page in kernel page table\n");
} while (address < end);
}
@@ -96,7 +96,7 @@
do {
struct page * page;
if (!pte_none(*pte))
- printk("alloc_area_pte: page already exists\n");
+ printk(KERN_ERR "alloc_area_pte: page already exists\n");
page = get_free_highpage(GFP_KERNEL|__GFP_HIGHMEM);
if (!page)
return -ENOMEM;
@@ -184,7 +184,7 @@
if (!addr)
return;
if ((PAGE_SIZE-1) & (unsigned long) addr) {
- printk("Trying to vfree() bad address (%p)\n", addr);
+ printk(KERN_ERR "Trying to vfree() bad address (%p)\n", addr);
return;
}
for (p = &vmlist ; (tmp = *p) ; p = &tmp->next) {
@@ -195,7 +195,7 @@
return;
}
}
- printk("Trying to vfree() nonexistent vm area (%p)\n", addr);
+ printk(KERN_ERR "Trying to vfree() nonexistent vm area (%p)\n", addr);
}
void * vmalloc(unsigned long size)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)