Re: [PATCH v2 15/20] kasan: don't round_up too much

2020-11-11 Thread Marco Elver
On Tue, Nov 10, 2020 at 11:20PM +0100, Andrey Konovalov wrote: > For hardware tag-based mode kasan_poison_memory() already rounds up the > size. Do the same for software modes and remove round_up() from the common > code. > > Signed-off-by: Andrey Konovalov > Reviewed-by: Dmitry Vyukov > Link:

[PATCH v2 15/20] kasan: don't round_up too much

2020-11-10 Thread Andrey Konovalov
For hardware tag-based mode kasan_poison_memory() already rounds up the size. Do the same for software modes and remove round_up() from the common code. Signed-off-by: Andrey Konovalov Reviewed-by: Dmitry Vyukov Link: