Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 3 Aug 2011 14:35:09 -1000
From: Linus Torvalds <>
To: Marc Zyngier <>
Cc: Andrew Morton <>,
        Vasiliy Kulikov <>,
        Manuel Lauss <>,
        "" <>,
        Richard Weinberger <>, Ingo Molnar <>,
        "" <>,
        "Paul E. McKenney" <>
Subject: Re: [PATCH] shm: fix a race between shm_exit() and shm_init()

On Wed, Aug 3, 2011 at 12:30 AM, Marc Zyngier <> 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).

I'm planning on also applying the patch that optimizes the case of no
shm attaches, which would also hide the oops, but I think this
attached patch is the RightThing(tm).


View attachment "patch.diff" of type "text/x-patch" (1110 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.