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

From: Andrew Morton
Date: Tue Jul 30 2024 - 17:15:15 EST


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.

> 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.