# Re: \[PATCH v13 19/25\] kasan: add hooks implementation for tag-based mode

- From: Andrey Konovalov \<hidden\>
- Date: 2018-12-18 13:31:51 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2018/12/5466337
- Thread: https://ratatoskr.run/linux-doc/2018/12/5455115/t.md

```text
On Mon, Dec 17, 2018 at 9:38 PM Andrew Morton [ref] wrote:
>
> On Mon, 17 Dec 2018 20:33:42 +0100 Andrey Konovalov [ref] wrote:
>
> > > Curiosity, did you try your patches with SLUB red zoning enabled?
> > > Since the area used for the Redzone is just after the payload, aligning the
> > > object_size independently from the allocator could have side effects, at least
> > > if I understand well how the mechanism works.
> > >
> > > Setting ARCH_SLAB_MINALIGN should avoid this as well.
> > >
> > > What do you think?
> >
> > Sounds good to me.
> >
> > Andrew, how should proceed with this? Send another fixup patch or
> > resend the whole series?
>
> It depends on how extensive the changes are.  I prefer a fixup, but at
> some point it's time to drop it all and start again.

The fixup in only a few lines, so I just sent it as a separate patch
named "[PATCH mm] kasan, arm64: use ARCH_SLAB_MINALIGN instead of
manual aligning".

Thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
