summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2020-01-07 17:31:04 +0100
committerIngo Molnar <mingo@kernel.org>2020-03-21 09:40:19 +0100
commit5c361425744d1e3b03d835dde659708683ca27d1 (patch)
treebf0169fe9b9f4ecb2555c817c7bcf072bf777902 /Kbuild
parentdf10846ff2ac3b0a7b295be2de2e9215877982f3 (diff)
kcsan: Prefer __always_inline for fast-path
Prefer __always_inline for fast-path functions that are called outside of user_access_save, to avoid generating UACCESS warnings when optimizing for size (CC_OPTIMIZE_FOR_SIZE). It will also avoid future surprises with compiler versions that change the inlining heuristic even when optimizing for performance. Reported-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: http://lkml.kernel.org/r/58708908-84a0-0a81-a836-ad97e33dbb62@infradead.org
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions