Re: [PATCH v2 5/5] arm64: add KASan support
From: Russell King - ARM Linux
Date: Mon Aug 24 2015 - 09:16:29 EST
On Tue, Jul 21, 2015 at 11:27:56PM +0200, Linus Walleij wrote:
> On Tue, Jul 21, 2015 at 4:27 PM, Andrey Ryabinin <a.ryabinin@xxxxxxxxxxx> wrote:
>
> > I used vexpress. Anyway, it doesn't matter now, since I have an update
> > with a lot of stuff fixed, and it works on hardware.
> > I still need to do some work on it and tomorrow, probably, I will share.
>
> Ah awesome. I have a stash of ARM boards so I can test it on a
> range of hardware once you feel it's ready.
>
> Sorry for pulling stuff out of your hands, people are excited about
> KASan ARM32 as it turns out.
People may be excited about it because it's a new feature, but we really
need to consider whether gobbling up 512MB of userspace for it is a good
idea or not. There are programs around which like to map large amounts
of memory into their process space, and the more we steal from them, the
more likely these programs are to fail.
The other thing which I'm not happy about is having a 16K allocation per
thread - the 16K allocation for the PGD is already prone to invoking the
OOM killer after memory fragmentation has set in, we don't need another
16K allocation. We're going from one 16K allocation per process to that
_and_ one 16K allocation per thread.
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/