Re: [PATCH] mm: kasan: mark file report so ftrace doesn't trace it

2019-06-03 Thread Dmitry Vyukov
On Mon, Jun 3, 2019 at 11:11 AM Anders Roxell wrote: > > __kasan_report() triggers ftrace and the preempt_count() in ftrace > causes a call to __asan_load4(), breaking the circular dependency by > making report as no trace for ftrace. > > Signed-off-by: Anders Roxell > --- > mm/kasan/Makefile |

[PATCH] mm: kasan: mark file report so ftrace doesn't trace it

2019-06-03 Thread Anders Roxell
__kasan_report() triggers ftrace and the preempt_count() in ftrace causes a call to __asan_load4(), breaking the circular dependency by making report as no trace for ftrace. Signed-off-by: Anders Roxell --- mm/kasan/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git