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 17:05:53 +0200 [thread overview]
Message-ID: <ZPXyUTteVxXtqiEo@pc636> (raw)
In-Reply-To: <CA+FbhJPNZ-E3e7WBH_jAvi3Rn-2gV4TVk9S9qmheXkqXw+Sakg@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 also don't get that warning any longer in my experiments when overwriting /
> kernel/rcu/tree.c with the file from 6.4.14.
>
The 6.4 does not have such warnings, therefore you do not see it :)
>
> 2. Please provide a full .config file.
> 3. Could you please also to be more specific how to reproduce a boot delay
> and the warning you see?
> 4. Please provide your full dmesg.
>
>
> The boot delay and warnings happen with both my self-compiled 6.5.1 and the
> CachyOS default Kernel 6.5.0-2. Reproducing is as simple as booting into that
> system and open up dmesg after the task bar eventually shows up (which takes 10
> - 20 seconds longer than normal). The warning goes away when overwriting /
> kernel/rcu/tree.c with the file from 6.4.14. But the slow boot, task bar and
> the shutdown/reboot problem remained. Journalctl signals some failures with
> powerdevil that do not happen with the older Kernel installed.
>
Let's focus on your own self compiled kernel. As for the 6.5.1 kernel,
could you please point your SHA1 so i can take a vanilla kernel and base
my testing on exactly the same baseline?
> I've attached the files to this mail for convenience.
>
Appreciate and thank you for the help!
--
Uladzislau Rezki
next prev parent reply other threads:[~2023-09-04 15:06 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 [this message]
[not found] ` <CA+FbhJMr6LzmOpVNkYyiSERAsNEqqvQwQ7SwJK=CmwvV9d2Z-A@mail.gmail.com>
2023-09-04 16:53 ` Uladzislau Rezki
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=ZPXyUTteVxXtqiEo@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