lkml.org 
[lkml]   [1999]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.3.22 locks up at boot.
On Sat, 16 Oct 1999, David Woodhouse wrote:

> 2.3.22 would lock solid after finishing rc.sysinit. I had to back out the proc
> changes to get it to boot.

Changing free_task_struct() to put_page() seems to cure it here.

--- fs/proc/array.c.org Sun Oct 17 11:22:33 1999
+++ fs/proc/array.c Sun Oct 17 11:24:47 1999
@@ -1181,7 +1181,7 @@

if (mm)
mmput(mm);
- free_task_struct(tsk);
+ put_page(MAP_NR(tsk) + mem_map);
return res;

out_unlock:
@@ -1487,7 +1487,7 @@
i,
tsk->per_cpu_utime[cpu_logical_map(i)],
tsk->per_cpu_stime[cpu_logical_map(i)]);
- free_task_struct(tsk);
+ put_page(MAP_NR(tsk) + mem_map);
}
return len;
}
-Mike


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.038 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site