From: Carel Si <beibei.si@intel.com>
To: lkp@lists.01.org
Subject: Re: [rcu] 7a7becb4d0: BUG:sleeping_function_called_from_invalid_context_at_include/linux/sched/mm.h
Date: Wed, 17 Nov 2021 13:07:35 +0800 [thread overview]
Message-ID: <20211117050734.GA25417@linux.intel.com> (raw)
In-Reply-To: <20211116102841.GQ641268@paulmck-ThinkPad-P17-Gen-1>
[-- Attachment #1: Type: text/plain, Size: 3361 bytes --]
Hi Paul,
On Tue, Nov 16, 2021 at 02:28:41AM -0800, Paul E. McKenney wrote:
> On Tue, Nov 16, 2021 at 02:59:30PM +0800, Carel Si wrote:
> > Hi Paul,
> >
> > On Fri, Nov 12, 2021 at 03:31:09AM -0800, Paul E. McKenney wrote:
> > > On Fri, Nov 12, 2021 at 04:06:20PM +0800, kernel test robot wrote:
> > > >
> > > >
> > > > Greeting,
> > > >
> > > > FYI, we noticed the following commit (built with gcc-9):
> > > >
> > > > commit: 7a7becb4d01e99471523ac38adf3ed64f8be092e ("rcu-tasks: Create per-CPU callback lists")
> > > > https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git dev.2021.11.01a
> > > >
> > > > in testcase: boot
> > > >
> > > > on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
> > > >
> > > > caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
> > > >
> > > >
> > > > +-------------------------------------------------------------------------------+------------+------------+
> > > > | | f62a1317c8 | 7a7becb4d0 |
> > > > +-------------------------------------------------------------------------------+------------+------------+
> > > > | boot_successes | 19 | 0 |
> > > > | boot_failures | 0 | 19 |
> > > > | BUG:sleeping_function_called_from_invalid_context_at_include/linux/sched/mm.h | 0 | 19 |
> > > > +-------------------------------------------------------------------------------+------------+------------+
> > >
> > > I have the following fixup patch in -rcu that addresses this problem
> > > for me: cafffee599ad ("fixup! rcu-tasks: Create per-CPU callback lists").
> > > Does it fix things for you?
> >
> > We have tested your fixup patch cafffee599 ("fixup! rcu-tasks: Create per-CPU
> > callback lists"), it can fix the issue, thanks!
>
> Very good, and thank you for testing it! May I apply your Tested-by
> to the resulting combined commit?
>
> 04855da2a8a1 ("rcu-tasks: Create per-CPU callback lists")
>
Sure, pls use "kernel test robot" name shown as below. Thanks!
Tested-by: kernel test robot <beibei.si@intel.com>
> Thanx, Paul
>
> > ================================================================================
> > compiler/kconfig/rootfs/sleep/tbox_group/testcase:
> > gcc-9/x86_64-rhel-8.3-func/debian-i386-20191205.cgz/1/vm-snb/boot
> >
> > commit:
> > f62a1317c8 ("EXP i915/gem/dmabuf: add <asm/smp.h> to fix build error") >parent
> > 7a7becb4d0 ("rcu-tasks: Create per-CPU callback lists") >fbc
> > cafffee599 ("fixup! rcu-tasks: Create per-CPU callback lists") >fix
> >
> > f62a1317c8c77960 7a7becb4d01e99471523ac38adf cafffee599ad1f69cc4c2429484
> > ---------------- --------------------------- ---------------------------
> > fail:runs %reproduction fail:runs %reproduction fail:runs
> > | | | | |
> > :6 100% 6:6 0% :6 dmesg.BUG:sleeping_function_called_from_invalid_context_at_include/linux/sched/mm.h
> >
> >
next prev parent reply other threads:[~2021-11-17 5:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-12 8:06 [rcu] 7a7becb4d0: BUG:sleeping_function_called_from_invalid_context_at_include/linux/sched/mm.h kernel test robot
2021-11-12 11:31 ` Paul E. McKenney
2021-11-16 6:59 ` Carel Si
2021-11-16 10:28 ` Paul E. McKenney
2021-11-17 5:07 ` Carel Si [this message]
2021-11-17 14:58 ` Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211117050734.GA25417@linux.intel.com \
--to=beibei.si@intel.com \
--cc=lkp@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.