Re: 2.6.9-rc1-mm5

Andrew Morton
2004-09-13T20:04:53Z

Kirill Korotaev <dev@sw.ru> 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.