Re: [PATCH] init: Fix race between init and kthreadd -v2

From: Ilya Loginov
Date: Mon Jun 28 2010 - 16:06:29 EST


On Mon, 28 Jun 2010 13:53:17 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> I just realized its all __init code so its all 'free' anyway, how about
> the nicer version:

I will try both versions and write about results. But I think, that there is
some logical inconsistent in these patches (for me). I like v2 more than v1.
But, I would move mutex_lock/unlock. Anyway, I will try your patches first.

Many thanks.

--
Ilya Loginov <isloginov@xxxxxxxxx>
--
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/