Messages in this thread | | | Date | Mon, 28 Jun 2010 08:03:27 -0700 | Subject | Re: [PATCH] init: Fix race between init and kthreadd -v3 | From | Linus Torvalds <> |
| |
On Mon, Jun 28, 2010 at 7:51 AM, Peter Zijlstra <peterz@infradead.org> wrote: > > static int __init kernel_init(void * unused) > { > + /* > + * Wait until kthreadd is all set-up. > + */ > + wait_for_completion(&kthreadd_done); > lock_kernel();
Ack. Looks sane.
Linus -- 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/
| |