From: Benjamin LaHaise Date: Sun, 11 Jan 2009 04:00:22 +0000 (-0500) Subject: x86-64: remove locked instruction from switch_to() X-Git-Tag: v2.6.30-rc1~211^2~26^2~2^2~166^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7106a5ab89c50c6b5aadea0850b40323804a922d;p=pandora-kernel.git x86-64: remove locked instruction from switch_to() Impact: micro-optimization 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed