patch-1.3.32 linux/kernel/exit.c

Next file: linux/net/ipv4/ip.c
Previous file: linux/include/linux/tpqic02.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.31/linux/kernel/exit.c linux/kernel/exit.c
@@ -94,6 +94,7 @@
 			nr_tasks--;
 			task[i] = NULL;
 			REMOVE_LINKS(p);
+			release_thread(p);
 			if (STACK_MAGIC != *(unsigned long *)p->kernel_stack_page)
 				printk(KERN_ALERT "release: %s kernel stack corruption. Aiee\n", p->comm);
 			free_page(p->kernel_stack_page);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this