Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.3.49 /mm/memory.c

Filename:/mm/memory.c
Lines Added:0
Lines Deleted:10
Also changed in: (Previous) 2.3.48  2.3.47  2.3.45  2.3.39  2.3.36  2.3.32 
(Following) 2.3.51  2.3.99-pre2  2.3.99-pre3  2.3.99-pre4  2.3.99-pre6  2.3.99-pre7 

Location
[  2.3.49
  [  mm
     o  memory.c

Patch

diff -u --recursive --new-file v2.3.48/linux/mm/memory.c linux/mm/memory.c
--- v2.3.48/linux/mm/memory.c   Sat Feb 26 22:32:07 2000
+++ linux/mm/memory.c   Mon Feb 28 07:50:08 2000
@@ -70,16 +70,6 @@
 mem_map_t * mem_map = NULL;
 
 /*
- * oom() prints a message (so that the user knows why the process died),
- * and gives the process an untrappable SIGKILL.
- */
-void oom(struct task_struct * task)
-{
-   printk("\nOut of memory for %s.\n", task->comm);
-   force_sig(SIGKILL, task);
-}
-
-/*
  * Note: this doesn't free the actual pages themselves. That
  * has been handled earlier when unmapping all the memory regions.
  */


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.