Re: [PATCH 4.19 23/30] x86_64: increase stack size for KASAN_EXTRA

From: Greg Kroah-Hartman
Date: Thu Feb 21 2019 - 10:26:48 EST


On Thu, Feb 21, 2019 at 06:00:06PM +0300, Andrey Ryabinin wrote:
> On 2/21/19 5:36 PM, Greg Kroah-Hartman wrote:
> > 4.19-stable review patch. If anyone has any objections, please let me know.
> >
>
> Drop it please. It increases kernel stack up to 4-order which is above PAGE_ALLOC_COSTLY_ORDER.
> This changes behavior of the fork() by making it fail with -ENOMEM due of high memory fragmentation.
>
> The patch that removes KASAN_EXTRA (not in Linus's tree yet) would be a better fix for the problem.

Ok, should this also be dropped from 4.20.y?

thanks,

greg k-h