diff options
author | Kees Cook <[email protected]> | 2022-09-23 13:28:13 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2022-11-01 10:04:52 -0700 |
commit | 905889bc6c842d18f369bf2834cf7219f32709ae (patch) | |
tree | 2ea427965285e54d4758fafa0b82896d19f63d40 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | cd536db050993f7c220a6cfb01de5356032b6f8e (diff) |
btrfs: send: 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: Chris Mason <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: [email protected]
Acked-by: David Sterba <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions