Re: 2.3.22 locks up at boot.

Mike Galbraith (mikeg@weiden.de)
Sun, 17 Oct 1999 11:49:36 +0200 (CEST)


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/