Re: RCU stalls with TREE07 on v6.0 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 31, 2022 at 2:41 AM Zhouyi Zhou <zhouzhouyi@xxxxxxxxx> wrote:
>
> On Sat, Dec 31, 2022 at 10:14 AM Joel Fernandes <joel@xxxxxxxxxxxxxxxxx> wrote:
> >
> > On Fri, Dec 30, 2022 at 9:04 PM Zhouyi Zhou <zhouzhouyi@xxxxxxxxx> wrote:
> > >
> > > Hi Joel
> > >
> > > As a beginner, I am interested and I have time, could you tell me
> > > where to download 6.0.16-rc2-g50f737b34ede when you are convenient?
> > > And could you tell me which torture command you are invoking? I may
> > > help to do some tests ;-)
> >
> > Sure Zhouyi, You can checkout linux-6.0.y from the stable tree [1] and
> > easily reproduce it via:
> > tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 5
> > --configs "25*TREE07"
> > This will take 2 hours to run a total of 25 tests of TREE07. The main
> > interest is in the shutdown stage.
> >
> > If you want to collect traces when the RCU stall triggers, you can do
> > something like:
> >
> > tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 5
> > --configs 20*TREE07 --bootargs
> > "trace_event=sched:sched_switch,sched:sched_waking,sched:sched_wakeup,rcu:rcu_callback,rcu:rcu_fqs,rcu:rcu_grace_period
> > ftrace_dump_on_oops panic_on_warn=1 sysctl.kernel.panic_on_rcu_stall=1
> > sysctl.kernel.max_rcu_stall_to_panic=1" trace_buf_size=300K --kconfig
> > "CONFIG_RCU_TRACE=y CONFIG_DEBUG_INFO_DWARF5=y
> > CONFIG_RANDOMIZE_BASE=n"
> >
> > You can see these traces in a link in my last email. Refer to that
> > email for the special trace_printk() patch as well if you fancy,
> > though that is optional.
> Thank Joel for your guidance! Your instruction is clear and easy to
> follow! I will do it. I may report my testing result tomorrow.

Sure! Glad to see your interest and let me/us know how it goes!

> > As a suggestion, also avoid top-posting to mailing lists [2]
> Thank Joel for your guidance! Thank you for correcting my mistake,
> which I have been doing like this for years.
> Without your guidance, I may continue my inappropriate behavior forever.

Thank you, I appreciate that!

thanks,

  - Joel



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux