Re: [PATCH] 2.4.21-pre3-ac oops

From: Jurriaan (thunder7@xs4all.nl)
Date: Sun Jan 19 2003 - 13:17:16 EST


From: Hugh Dickins <hugh@veritas.com>
Date: Sun, Jan 19, 2003 at 02:08:40PM +0000
> If you got 2.4.21-pre3-ac __free_pages_ok oops, please try this patch.
>
> Hugh
>
> --- 2.4.21-pre3-ac4/kernel/fork.c Mon Jan 13 18:56:12 2003
> +++ linux/kernel/fork.c Sun Jan 19 13:39:37 2003
> @@ -688,6 +688,8 @@
> p->lock_depth = -1; /* -1 = no lock */
> p->start_time = jiffies;
>
> + INIT_LIST_HEAD(&p->local_pages);
> +
> retval = -ENOMEM;
> /* copy all the process information */
> if (copy_files(clone_flags, p))
>
If this is it, and so far it looks like it for me, wouldn't it be time
to create a

CONFIG_DEBUG_LIST

option that caught these illegal list manipulations?

I know - talk is cheap, code isn't etc etc :-)

Jurriaan

-- 
pay no deposit and get no return
	Skyclad - No Deposit, No Return
GNU/Linux 2.4.21-pre3-ac4 SMP/ReiserFS 2x2785 bogomips load av: 0.06 0.82 0.64
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:22 EST