Re: [PATCH] shm: fix a race between shm_exit() and shm_init()
From: Marc Zyngier
Date: Thu Aug 04 2011 - 04:26:44 EST
On 04/08/11 01:35, Linus Torvalds wrote:
> On Wed, Aug 3, 2011 at 12:30 AM, Marc Zyngier <marc.zyngier@xxxxxxx> wrote:
>>
>> driver_init() is called from do_basic_setup(), before any initcall...
>
> Ok, thanks everybody. I think the proper fix is the attached patch.
> It's crazy to have usermode helpers enabled early during boot when
> init etc haven't even been set up.
>
> So does this finally fix the problem (I realize that there are other
> patches floating around that *also* fix it, so please test this
> without those other patches).
This patch alone doesn't cure the problem... However, if combined with
the pure_initcall patch, it boots correctly.
I'll try to gather some traces later today.
M.
--
Jazz is not dead. It just smells funny...
--
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/