[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1253388076.20020.360.camel@gandalf.stny.rr.com>
Date: Sat, 19 Sep 2009 15:21:16 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: akpm@...ux-foundation.org
Cc: mm-commits@...r.kernel.org, mingo@...e.hu,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: + sched-fix-raciness-in-runqueue_is_locked.patch added to -mm
tree
On Sat, 2009-09-19 at 11:55 -0700, akpm@...ux-foundation.org wrote:
> The patch titled
> sched(): fix raciness in runqueue_is_locked()
> has been added to the -mm tree. Its filename is
> sched-fix-raciness-in-runqueue_is_locked.patch
>
> Before you just go and hit "reply", please:
> a) Consider who else should be cc'ed
> b) Prefer to cc a suitable mailing list as well
> c) Ideally: find the original patch on the mailing list and do a
> reply-to-all to that, adding suitable additional cc's
>
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
>
> See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
> out what to do about this
>
> The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
>
> ------------------------------------------------------
> Subject: sched(): fix raciness in runqueue_is_locked()
> From: Andrew Morton <akpm@...ux-foundation.org>
>
> runqueue_is_locked() is unavoidably racy due to a poor interface design.
> It does
>
> cpu = get_cpu()
> ret = some_perpcu_thing(cpu);
> put_cpu(cpu);
> return ret;
>
> Its return value is unreliable.
>
> Fix.
>
> Cc: Ingo Molnar <mingo@...e.hu>
Acked-by: Steven Rostedt <rostedt@...dmis.org>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> ---
>
--
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