x86/asm/entry/32: Make register zero-extension more prominent
authorDenys Vlasenko <dvlasenk@redhat.com>
Fri, 27 Mar 2015 10:36:21 +0000 (11:36 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 27 Mar 2015 11:27:57 +0000 (12:27 +0100)
commit4ee8ec17ba00fce4af042543771f996fb9d98d34
tree768bd1721024814da059c730d9dc0f6f796d16a7
parenta232e3d558eef421fbb539ede5483dfb668e38f2
x86/asm/entry/32: Make register zero-extension more prominent

There are a couple of syscall argument zero-extension instructions in
the 32-bit compat entry code, and it was mentioned that people keep
trying to optimize them out, introducing bugs.

Make them more visible, and add a "do not remove" comment.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Will Drewry <wad@chromium.org>
Link: http://lkml.kernel.org/r/1427452582-21624-3-git-send-email-dvlasenk@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/ia32/ia32entry.S