[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080428131332.GA3723@elte.hu>
Date: Mon, 28 Apr 2008 15:13:32 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Heiko Carstens <heiko.carstens@...ibm.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Gautham R Shenoy <ego@...ibm.com>, Paul Jackson <pj@....com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sched: missing locking in sched_domains code
* Heiko Carstens <heiko.carstens@...ibm.com> wrote:
> > version 42. Please feel free to change the comment if you think it could
> > be better :)
>
> I don't believe this... version 43 ;) I forgot to add the lock in
> sched_init_smp(). Not that it would really matter, but it should be
> there to avoid (even more) confusion.
hey i just had to iterate it to version 44.
this bit:
> -/* doms_cur_mutex serializes access to doms_cur[] array */
> -static DEFINE_MUTEX(doms_cur_mutex);
> +/* sched_domains_mutex serializes calls to arch_init_sched_domains,
> + * detach_destroy_domains and partition_sched_domains.
> + */
> +static DEFINE_MUTEX(sched_domains_mutex);
was inside an #ifdef section ;-)
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists