summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2026-02-25 02:24:52 +0300
committerKees Cook <kees@kernel.org>2026-02-25 02:46:31 +0300
commit4b44cbb264d0ed3f2f2bc2659db6ce45882f4670 (patch)
tree4b833ffd3ac22e84418121e034522139fa8ab91b /include/uapi/linux
parentf709859f331b8fbd7fede5769d668008fc5ba789 (diff)
downloadlinux-4b44cbb264d0ed3f2f2bc2659db6ce45882f4670.tar.xz
overflow: Make sure size helpers are always inlined
With kmalloc_obj() performing implicit size calculations, the embedded size_mul() calls, while marked inline, were not always being inlined. I noticed a couple places where allocations were making a call out for things that would otherwise be compile-time calculated. Force the compilers to always inline these calculations. Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://patch.msgid.link/20260224232451.work.614-kees@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions