aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJan Beulich <[email protected]>2013-01-22 11:24:12 +0000
committerIngo Molnar <[email protected]>2013-01-24 11:25:59 +0100
commitd59fe3f13d070489e63d04e1c9bfd819d5f71542 (patch)
treee48621769d74d9e9c583cdd6d284a8f7750b5ee5 /net/unix/af_unix.c
parentff7532ca2c631e7e96dcd305a967b610259dc0ea (diff)
ix86: Tighten asmlinkage_protect() constraints
While the description of the commit that originally introduced asmlinkage_protect() validly says that this doesn't guarantee clobbering of the function arguments, using "m" constraints rather than "g" ones reduces the risk (by making it less attractive to the compiler to move those variables into registers) and generally results in better code (because we know the arguments are in memory anyway, and are frequently - if not always - used just once, with the second [compiler visible] use in asmlinkage_protect() itself being a fake one). Signed-off-by: Jan Beulich <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions