Re: [PATCH 09/12] kasan: ensure poisoning size alignment

2021-02-03 Thread Marco Elver
On Mon, Feb 01, 2021 at 08:43PM +0100, Andrey Konovalov wrote: > A previous changes d99f6a10c161 ("kasan: don't round_up too much") > attempted to simplify the code by adding a round_up(size) call into > kasan_poison(). While this allows to have less round_up() calls around > the code, this results

[PATCH 09/12] kasan: ensure poisoning size alignment

2021-02-01 Thread Andrey Konovalov
A previous changes d99f6a10c161 ("kasan: don't round_up too much") attempted to simplify the code by adding a round_up(size) call into kasan_poison(). While this allows to have less round_up() calls around the code, this results in round_up() being called multiple times. This patch removes round_u