Re: 2.6.9-rc1-mm5

From: Andrew Morton
Date: Mon Sep 13 2004 - 15:07:44 EST


Kirill Korotaev <dev@xxxxx> wrote:
>
> Hello Andrew,
>
> Please replace patch next_thread-bug-fixes.patch in -mm5 tree with the
> last diff-next_thread I sent to you.

I was planning on replacing it with Ingo's patch.

--- linux/fs/proc/array.c.orig
+++ linux/fs/proc/array.c
@@ -356,7 +356,7 @@ static int do_task_stat(struct task_stru
stime = task->signal->stime;
}
}
- if (whole) {
+ if (whole && task->sighand) {

Is there some reason why your patch is better? If so, please do a full
resend.

> And it looks like thread loop in do_task_stat() doesn't require siglock
> lock, so you can add the patch attached to reduce lock area.

hm, OK.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/