Re: [PATCH, minor] sched: check for SD_SERIALIZE atomically inrebalance_domains()

From: Ingo Molnar
Date: Tue May 06 2008 - 08:36:49 EST



* Dmitry Adamushko <dmitry.adamushko@xxxxxxxxx> wrote:

>
> Nothing really serious here, mainly just a matter of nit-picking :-/
>
>
> From: Dmitry Adamushko <dmitry.adamushko@xxxxxxxxx>
> Subject: sched: check for SD_SERIALIZE atomically in rebalance_domains()
>
> For CONFIG_SCHED_DEBUG && CONFIG_SYSCT configs, sd->flags can be
> altered while being manipulated in rebalance_domains(). Let's do an
> atomic check. We rely here on the atomicity of read/write accesses for
> aligned words.

applied, thanks Dmitry.

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