]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86-32: Avoid pipeline serialization in PTREGSCALL1 and 2
authorH. Peter Anvin <hpa@zytor.com>
Thu, 10 Dec 2009 00:33:44 +0000 (16:33 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 10 Dec 2009 00:33:44 +0000 (16:33 -0800)
commitce9119ad90b1caba550447bfcc0a21850558ca49
treee7005dcf5ec04848e9ddf33a5b00d11b04ea48f9
parentf839bbc5c81b1c92ff8e81c360e9564f7b961b2e
x86-32: Avoid pipeline serialization in PTREGSCALL1 and 2

In the PTREGSCALL1 and 2 macros, we can trivially avoid an unnecessary
pipeline serialization, so do so.

In PTREGSCALLS3 this is much less clear-cut since we have to push a
new value to the stack.  Leave it alone for now assuming it is as good
as it is going to be; may want to check on Atom or another in-order
x86 to see if we can do better.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Brian Gerst <brgerst@gmail.com>
LKML-Reference: <1260403316-5679-2-git-send-email-brgerst@gmail.com>
arch/x86/kernel/entry_32.S