diff options
author | 2022-10-18 02:10:11 -0700 | |
---|---|---|
committer | 2022-11-01 10:04:52 -0700 | |
commit | cd536db050993f7c220a6cfb01de5356032b6f8e (patch) | |
tree | 49c4192cadee75f637b2251d2cb15b0453c79745 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kbuild: upgrade the orphan section warning to an error if CONFIG_WERROR is set (diff) | |
download | wireguard-linux-cd536db050993f7c220a6cfb01de5356032b6f8e.tar.xz wireguard-linux-cd536db050993f7c220a6cfb01de5356032b6f8e.zip |
dma-buf: Proactively round up to kmalloc bucket size
Instead of discovering the kmalloc bucket size _after_ allocation, round
up proactively so the allocation is explicitly made for the full size,
allowing the compiler to correctly reason about the resulting size of
the buffer through the existing __alloc_size() hint.
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: linux-media@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linaro-mm-sig@lists.linaro.org
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20221018090858.never.941-kees@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions