On Sun, Dec 22, 2019 at 2:25 PM <glider@xxxxxxxxxx> wrote: > > KMSAN instruments the code heavily, increasing register pressure and > preventing functions from being inlined. As a result, the kernel > requires more stack space to run. > > Rename KASAN_STACK_ORDER to EXTRA_STACK_ORDER and set EXTRA_STACK_ORDER > to 2 for KMSAN builds, effectively making the stacks 4 times larger. > > Signed-off-by: Alexander Potapenko <glider@xxxxxxxxxx> What about CONFIG_FRAME_WARN? Do you need to change that as well to get a warning-free build? If so, what is the minimum value that you need? Arnd