x86: remove extra barriers from load_gs_base()
authorBrian Gerst <brgerst@gmail.com>
Tue, 27 Jan 2009 03:56:48 +0000 (12:56 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 27 Jan 2009 03:56:48 +0000 (12:56 +0900)
commit1825b8edc2034c012ae48f797d74efd1bd9d4f72
treede6d7d8c53df7dd476583a9158e753a3237ee61b
parentb2d2f4312b117a6cc647c8521e2643a88771f757
x86: remove extra barriers from load_gs_base()

Impact: optimization

mb() generates an mfence instruction, which is not needed here.  Only
a compiler barrier is needed, and that is handled by the memory clobber
in the wrmsrl function.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/include/asm/processor.h