Re: [PATCH] arm64: increase stack size for KASAN_EXTRA

From: Arnd Bergmann
Date: Tue Dec 11 2018 - 16:56:32 EST

On Tue, Dec 11, 2018 at 10:52 PM Qian Cai <cai@xxxxxx> wrote:
> On Tue, 2018-12-11 at 22:43 +0100, Arnd Bergmann wrote:
> > On Tue, Dec 11, 2018 at 6:18 PM Qian Cai <cai@xxxxxx> wrote:

> I am not too keen to do the version-check considering some LTS versions could
> just back-port those patches and the render the version-check incorrectly.

I'm not following what the problem is. Do you mean distro versions gcc
with the compiler bugfix, or LTS kernel versions?

For backported kernel fixes, this doesn't seem to be any different
from other kernel changes that might be incorrect, but a straight
backport of that kernel patch should still do the right thing in older
kernels, and set the frame size higher for old compilers but not
new ones.