public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Uladzislau Rezki <urezki@gmail.com>
To: Marcus Seyfarth <m.seyfarth@gmail.com>
Cc: Uladzislau Rezki <urezki@gmail.com>,
	paulmck@kernel.org, Bagas Sanjaya <bagasdotme@gmail.com>,
	Ziwei Dai <ziwei.dai@unisoc.com>,
	linux-kernel@vger.kernel.org, rcu@vger.kernel.org
Subject: Re: Fwd: [6.5.1] Slow boot and opening files (RIP: kvfree_rcu_bulk)
Date: Mon, 4 Sep 2023 18:53:46 +0200	[thread overview]
Message-ID: <ZPYLmm3ih7u95l1a@pc636> (raw)
In-Reply-To: <CA+FbhJMr6LzmOpVNkYyiSERAsNEqqvQwQ7SwJK=CmwvV9d2Z-A@mail.gmail.com>

> 
>     >     Could you please clarify some items:
>     >
>     >     1.
>     >     <snip>
>     >     if (!WARN_ON_ONCE(!poll_state_synchronize_rcu_full(&bnode->gp_snap)))
>     {
>     >             debug_rcu_bhead_unqueue(bnode);
>     >             rcu_lock_acquire(&rcu_callback_map);
>     >     <snip>
>     >
>     >     Do you see this warning? I mean the one that is in the if()?
>     >
>     >
>     > Hi! From my limited understanding, the warning points to that snippet: [
>      
>     >  7.108424] WARNING: CPU: 13 PID: 338 at kernel/rcu/tree.c:2952
>     > kvfree_rcu_bulk+0x13b/0x160
>     >
>     OK. Since you have a compiled vmlinux. Just to be sure, could you please
>     perform below steps:
> 
>     <snip>
>     urezki@pc638:~/data/raid0/coding/linux.git$ gdb ./vmlinux
>     GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
>     Copyright (C) 2021 Free Software Foundation, Inc.
>     License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
>     gpl.html>
>     This is free software: you are free to change and redistribute it.
>     There is NO WARRANTY, to the extent permitted by law.
>     Type "show copying" and "show warranty" for details.
>     This GDB was configured as "x86_64-linux-gnu".
>     Type "show configuration" for configuration details.
>     For bug reporting instructions, please see:
>     <https://www.gnu.org/software/gdb/bugs/>.
>     Find the GDB manual and other documentation resources online at:
>         <http://www.gnu.org/software/gdb/documentation/>.
> 
>     For help, type "help".
>     Type "apropos word" to search for commands related to "word"...
>     Reading symbols from ./vmlinux...
>     (gdb) l *kvfree_rcu_bulk+0x13b
>     <snip>
> 
>     and post the output here?
> 
> 
> I guess that is with my self-compiled 6.5.1 installed, right? I might come back
> to this task with the asked data later, but as that machine is used in
> production for daily tasks this might take a couple of days.
> 
Yes, please.

> 
> I don't have an SHA1 but you can take the vanilla 6.5.1 kernel and apply all
> seven 0001-*.patch files from my repo that are available here: https://
> github.com/ms178/archpkgbuilds/tree/main/packages/linux-cachyos to get it into
> the same state.
>
Sounds good. I will try my best to reproduce it locally with set of
extra patches + your .config + 6.5.1 kernel.

Thank you for the help to debug it!

--
Uladzislau Rezki

  parent reply	other threads:[~2023-09-04 16:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-03  1:34 Fwd: [6.5.1] Slow boot and opening files (RIP: kvfree_rcu_bulk) Bagas Sanjaya
2023-09-03  3:29 ` Hugh Dickins
2023-09-03 10:45 ` Paul E. McKenney
     [not found]   ` <CA+FbhJOSfqcb3=ecL-y=13j81b1Ts13wHpzBSURyCRQUvd2NWQ@mail.gmail.com>
     [not found]     ` <c054b588-b029-4380-9ec5-4ae50ee37d08@paulmck-laptop>
     [not found]       ` <CA+FbhJO1FbOvP=GmUse-r8Yma1tSv6iqppDhz9Ut1JKpjN49qQ@mail.gmail.com>
     [not found]         ` <CA+FbhJPOkV4Xa7ZJ4QF2y_-5i24F+TkhByr=LzMPt9iy9EshSQ@mail.gmail.com>
     [not found]           ` <4009a6e0-198c-4f25-8e34-4774dcd8c537@paulmck-laptop>
     [not found]             ` <CA+FbhJPxU+QKf1tTBd8XcKcSsTeRmJ=ji_L4QYiad--hGqRB5w@mail.gmail.com>
2023-09-03 15:36               ` Paul E. McKenney
     [not found]                 ` <CA+FbhJPtmFG2vKNXWr67Tuh-4HUi8n81PmKxwftv9iK1a3On-A@mail.gmail.com>
2023-09-04 11:23                   ` Uladzislau Rezki
     [not found]                     ` <CA+FbhJPNZ-E3e7WBH_jAvi3Rn-2gV4TVk9S9qmheXkqXw+Sakg@mail.gmail.com>
2023-09-04 15:05                       ` Uladzislau Rezki
     [not found]                         ` <CA+FbhJMr6LzmOpVNkYyiSERAsNEqqvQwQ7SwJK=CmwvV9d2Z-A@mail.gmail.com>
2023-09-04 16:53                           ` Uladzislau Rezki [this message]
2023-09-04 19:13                             ` Uladzislau Rezki
     [not found]                               ` <CA+FbhJPNK=4s8J5OqOBaDC8EDNQzevQMQ+fwZnfxG92ReabQOA@mail.gmail.com>
     [not found]                                 ` <CA+FbhJMEqLycroz=J6VvC=4OBaJSwz8K+K6Zgki80M-5YdYp6A@mail.gmail.com>
2023-09-05 10:41                                   ` Uladzislau Rezki
2023-09-05 16:46                                   ` Uladzislau Rezki
     [not found]                                     ` <CA+FbhJOekDxBjQH6jUFXusgakRVx_Y0S3s5avko23c6XqCc2Mw@mail.gmail.com>
     [not found]                                       ` <CA+FbhJNQfGW5RMJc-WaOmjqmYuTnqdvRPYO_40TP5=P4LFPDYQ@mail.gmail.com>
2023-09-05 18:46                                         ` Uladzislau Rezki
     [not found]                                           ` <CA+FbhJO4xfdrUtZLWMRMaZdM2W-G+ZKtg9ESdwT8DUFJZKmW-Q@mail.gmail.com>
2023-09-06 10:31                                             ` Uladzislau Rezki
2023-09-11 13:25 ` Bagas Sanjaya

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=ZPYLmm3ih7u95l1a@pc636 \
    --to=urezki@gmail.com \
    --cc=bagasdotme@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.seyfarth@gmail.com \
    --cc=paulmck@kernel.org \
    --cc=rcu@vger.kernel.org \
    --cc=ziwei.dai@unisoc.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox