Re: [PATCH] tracing: Call vmalloc_sync_mappings() after alloc_percpu()

From: Steven Rostedt
Date: Wed May 06 2020 - 11:17:09 EST


On Tue, 5 May 2020 14:31:44 +0200
Joerg Roedel <jroedel@xxxxxxx> wrote:

> On Mon, May 04, 2020 at 03:10:06PM -0400, Steven Rostedt wrote:
> > I'm fine with adding it to the tracing code (with that ridiculous
> > comment! ;-)
> >
> > I'll even tag is as stable, but again, it's uncertain what commit that it
> > "fixes".
>
> Okay, so here it is. It fixes the issue for me and doesn't cause any
> lockdep splats on my machine. I am not sure how far this needs to be
> backported via stable, so I didn't specify it. Same with a Fixes tag.
> Oh, and I added your comment :-) (which makes up most of the added
> lines, so feel free to change authorship to you).

OK, I did take authorship. At least it will be me who gets the blame ;-)

Here's the patch: