lkml.org 
[lkml]   [2024]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: selftests: tc-testing: tdc.sh: WARNING: at kernel/locking/lockdep.c:1226 lockdep_register_key
hello,

On Tue, Apr 30, 2024 at 12:17 AM Naresh Kamboju
<naresh.kamboju@linaro.org> wrote:
>
> While running selftests: tc-testing: tdc.sh the following kernel warnings,
> kernel Bug, kernel oops and kernel panic noticed with Linux next-20240429
> tag kernel as per the available data.
>
> This build config is from kselftest merge config[1].
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>
> selftests: tc-testing: tdc.sh log and crash log

the problem is created by [1]. I think that at least we need to guard
against failures to allocate sch->cpu_bstats and sch->cpu_qstats,
otherwise the dynamic key is registered but never unregistered (though
the key is freed in the error path of of qdisc_alloc() ). But there
might be also something else; however, I can reproduce some similar
splat, will follow-up on the list.

sorry for the noise,
--
davide

[1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=af0cb3fa3f9ed258d14abab0152e28a0f9593084


\
 
 \ /
  Last update: 2024-05-27 18:09    [W:0.040 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site