Re: [PATCH 4.19 23/30] x86_64: increase stack size for KASAN_EXTRA
From: Andrey Ryabinin
Date: Thu Feb 21 2019 - 10:00:09 EST
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.