Re: [PATCH] kfence: Avoid stalling work queue task without allocations

Marco Elver
2020-11-23T15:27:48Z

[-- Attachment #1: Type: text/plain, Size: 835 bytes --]

On Fri, Nov 20, 2020 at 02:27PM -0500, Steven Rostedt wrote:
> On Thu, 19 Nov 2020 13:53:57 +0100
> Marco Elver <elver@google.com> wrote:
>
> > Running tests again, along with the function tracer
> > Running tests on all trace events:
> > Testing all events:
> > BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 12s!
>
> The below patch might be noisy, but can you add it to the kernel that
> crashes and see if a particular event causes the issue?
>
> [ note I didn't even compile test. I hope it works ;) ]
>
> Perhaps run it a couple of times to see if it crashes on the same set of
> events each time.

Thanks! I have attached the logs of 2 runs. I think one problem here is
that the enabling of an event doesn't immediately trigger the problem,
so it's hard to say which one caused it.

Thanks,
-- Marco

[-- Attachment #2: dmesg-1.xz --]
[-- Type: application/x-xz, Size: 36892 bytes --]

[-- Attachment #3: dmesg-2.xz --]
[-- Type: application/x-xz, Size: 35088 bytes --]