[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090111040557.GG28520@elte.hu>
Date: Sun, 11 Jan 2009 05:05:57 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Benjamin LaHaise <bcrl@...ck.org>
Cc: linux-kernel@...r.kernel.org, "H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Alexander van Heukelum <heukelum@...lshack.com>
Subject: Re: [PATCH] x86-64: remove locked instruction from switch_to()
* Benjamin LaHaise <bcrl@...ck.org> wrote:
> Here is a rediffed and test booted version of the patch against linus' git
> tree as of a couple of hours ago.
>
> The patch below removes an unnecessary locked instruction from
> switch_to(). TIF_FORK is only ever set in copy_thread() on initial
> process creation, and gets cleared during the first scheduling of the
> process. As such, it is safe to use an unlocked test for the flag
> within switch_to()./
>
> Signed-off-by: Benjamin LaHaise <bcrl@...ck.org>
applied to tip/x86/asm, thanks Ben!
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