Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 1 Aug 2011 14:01:38 -1000
From: Linus Torvalds <>
To: Vasiliy Kulikov <>
Cc: Andrew Morton <>, Ingo Molnar <>,,
        "Paul E. McKenney" <>,
        Manuel Lauss <>,, Richard Weinberger <>,
        Marc Zyngier <>
Subject: Re: Re: initcall dependency problem (ns vs. threads)

On Mon, Aug 1, 2011 at 9:03 AM, Vasiliy Kulikov <> wrote:
>> Are we talking about init_ipc_ns.ids[] here?  If so, did you try
>> initializing the three rwsems at compile-time?
>> That's rather a nasty hack though.  It'd be better to run the mystery
>> init function before starting the threads.
> Looks like it solves the race.  However, I think it should be solved on
> another level.  Other bugs might be hidden with this race.

Statically initializing code data structures in order to avoid these
kinds of problems is the correct fix.

Can you send me the patch?


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.