Re: kernel/workqueue.c:3030 __flush_work+0x2c2/0x2d0
From: Naresh Kamboju
Date: Tue Jun 18 2019 - 03:44:54 EST
On Tue, 18 Jun 2019 at 09:40, Hillf Danton <hdanton@xxxxxxxx> wrote:
> On Sun, 16 Jun 2019 19:30:27 -0700 (PDT) Naresh Kamboju wrote:
> > Kernel warning while running kernel selftest bpf test_sockmap test case on
> > x86_64 and arm64.
> > The kernel warning log pops up continuously.
> > Linux version 5.1.10-rc2
> > Steps to reproduce:
> > Boot stable rc 5.1.10-rc2 kernel on x86_64 or arm64
> > cd selftests/bpf
> > ./test_sockmap
> > [ 37.600406] WARNING: CPU: 3 PID: 57 at /usr/src/kernel/kernel/workqueue.c:3030 __flush_work+0x2c2/0x2d0
> Only find this; wish it may be paving a brick perhaps for those looking to fix the
> 3030 warning.
Thanks for looking into this problem,
There is a recent patch fixed this problem on 5.1.12 stable rc branch today
and AUTOSEL on current stable review.
bpf: sockmap, only stop/flush strp if it was enabled at some point