Re: [PATCH 1/4] mm: kvrealloc: disable KASAN when switching to vmalloc

From: Danilo Krummrich
Date: Tue Jul 30 2024 - 18:48:12 EST


On Tue, Jul 30, 2024 at 02:15:08PM -0700, Andrew Morton wrote:
> On Tue, 30 Jul 2024 20:49:41 +0200 Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> > Disable KASAN accessibility checks when switching from a kmalloc buffer
> > to a vmalloc buffer.
>
> This text tells us "what", which was utterly evident from a cursory
> read of the code.
>
> Please tell us the "why". Completely.

As mentioned in the other reply. Since this is a fixup series for stuff that's
in mm-unstable already, and hence gets squashed in later on, I treated this more
like the list of changes one would also append when sending the next version of
a series.

If you expect such fixup commits to have the same detail than regular ones, I'll
surely add those details and resend. Please let me know.

>
> > Fixes: 923a26b4c679 ("mm: kvmalloc: align kvrealloc() with krealloc()")
>
> For those who are following along, this patch in mm-unstable so this
> patch will be squished into the above.
>