From: Ingo Molnar <mingo@elte.hu>
To: Benjamin LaHaise <bcrl@kvack.org>
Cc: linux-kernel@vger.kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
Alexander van Heukelum <heukelum@mailshack.com>
Subject: Re: [PATCH] x86-64: remove locked instruction from switch_to()
Date: Sun, 11 Jan 2009 05:05:57 +0100 [thread overview]
Message-ID: <20090111040557.GG28520@elte.hu> (raw)
In-Reply-To: <20090111040022.GG13467@kvack.org>
* Benjamin LaHaise <bcrl@kvack.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@kvack.org>
applied to tip/x86/asm, thanks Ben!
Ingo
prev parent reply other threads:[~2009-01-11 4:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-10 21:26 [x86-64] remove locked instruction from switch_to() Benjamin LaHaise
2009-01-10 22:36 ` Ingo Molnar
2009-01-11 4:00 ` [PATCH] x86-64: " Benjamin LaHaise
2009-01-11 4:05 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090111040557.GG28520@elte.hu \
--to=mingo@elte.hu \
--cc=bcrl@kvack.org \
--cc=heukelum@mailshack.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox