Re: mmotm 2009-02-17-12-33 uploaded
From: Jiri Slaby
Date: Wed Feb 18 2009 - 04:35:39 EST
On 18.2.2009 10:19, Jiri Slaby wrote:
On 18.2.2009 00:21, Jiri Slaby wrote:
On 17.2.2009 21:33, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
The mm-of-the-moment snapshot 2009-02-17-12-33 has been uploaded to
This one:
kthreads-move-sched-realeted-initialization-from-kthreadd-context.patch
This hunk fixes the problem for me. I have no idea if it is correct though.
diff --git a/kernel/kthread.c b/kernel/kthread.c
index c1c3763..caed471 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -73,6 +73,7 @@ static int kthread(void *_create)
/* OK, tell user we're spawned, wait for stop or wakeup */
__set_current_state(TASK_UNINTERRUPTIBLE);
+ create->result = current;
complete(&create->done);
schedule();
--
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/