Messages in this thread | | | Subject | Re: [PATCH] trace: skip hwasan | From | Qian Cai <> | Date | Mon, 18 Feb 2019 10:53:53 -0500 |
| |
On 2/18/19 10:25 AM, Andrey Konovalov wrote: > On Sun, Feb 17, 2019 at 5:34 AM Qian Cai <cai@lca.pw> wrote: >> >> Enabling function tracer with CONFIG_KASAN_SW_TAGS=y (hwasan) tracer >> causes the whole system frozen on ThunderX2 systems with 256 CPUs, >> because there is a burst of too much pointer access, and then KASAN will >> dereference each byte of the shadow address for the tag checking which >> will kill all the CPUs. > > Hi Qian, > > Could you check if adding "CFLAGS_REMOVE_tags.o = -pg" into > mm/kasan/Makefile helps with that?
Yes, you nailed it!
| |