Re: [PATCH] shm: fix a race between shm_exit() and shm_init()

From: Linus Torvalds
Date: Wed Aug 03 2011 - 04:19:55 EST


On Tue, Aug 2, 2011 at 10:05 PM, Marc Zyngier <marc.zyngier@xxxxxxx> wrote:
>
> Reordering the initcalls seems the easiest solution, but it is still very
> fragile...

So that's what I tried to do, by making it a "pure_initcall()". Even
that didn't seem to be enough according to Manuel.

Can you try my patch (that makes just that ipc ns init be a
pure_initcall(), together with your hack on top of Andrew's? What is
it that happens so early that even pure_initcall() hasn't been done
yet?

Linus
--
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/