public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
From: Heiko Carstens <hca@linux.ibm.com>
To: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Cc: linux-next@vger.kernel.org, linux-s390@vger.kernel.org,
	Ingo Molnar <mingo@kernel.org>,
	Alexander Egorenkov <egorenar@linux.ibm.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Thomas Gleixner <tglx@kernel.org>,
	"Paul E. McKenney" <paulmck@kernel.org>
Subject: Re: [linux-next][s390] Boot hang after merge c50f05bd3c4e (sched/hrtick)
Date: Thu, 5 Mar 2026 08:49:22 +0100	[thread overview]
Message-ID: <20260305074922.7170Ad3-hca@linux.ibm.com> (raw)
In-Reply-To: <28add480-4841-4e6a-a8a9-1211280ecc51@linux.ibm.com>

On Wed, Mar 04, 2026 at 05:13:56PM +0100, Mikhail Zaslonko wrote:
> Sorry, forgot to Cc a few people.
> Adding scheduler maintainers.
> 
> Thanks,
> Mikhail Zaslonko
> 
> On 03-Mar-26 19:31, Mikhail Zaslonko wrote:
> > Hello,
> > 
> > we have kernel-next boot hang on s390 starting next-20260302.
> > 
> > I bisected it in linux-next to:
> > 
> > c50f05bd3c4e ("Merge branch into tip/master: 'sched/hrtick'")
> > 
> > Good:
> >   72a2ab46f045  
> >   d50da4b5915f  (2nd parent: sched/hrtick branch)
> > 
> > Bad:
> >   c50f05bd3c4e  (merge commit)
> > 
> > Environment:
> >  - s390 under z/VM
> >  - many CPUs defined (32+)
> >  - boot hangs early with RCU stall (see boot log excerpt below)

linux-next is currently completely broken because of this.

Looking at one of the numerous dumps of linux-next from 20260303 I can
see that the system hangs early waiting for synchronize_rcu_normal()
to finish:

crash> ps
      PID    PPID  CPU       TASK        ST  %MEM      VSZ      RSS  COMM
>       0       0   0     3b7dff6c700    RU   0.0        0        0  [swapper/0]
>       0       0   1      80afc800      RU   0.0        0        0  [swapper/1]
>       0       0   2      80afa400      RU   0.0        0        0  [swapper/2]
>       0       0   3      80b34800      RU   0.0        0        0  [swapper/3]
>       0       0   4      80b32400      RU   0.0        0        0  [swapper/4]
>       0       0   5      80b30000      RU   0.0        0        0  [swapper/5]
>       0       0   6      80b14800      RU   0.0        0        0  [swapper/6]
>       0       0   7      80b50000      RU   0.0        0        0  [swapper/7]
>       0       0   8      80b3c800      RU   0.0        0        0  [swapper/8]
        1       0   3      80a80000      UN   0.0        0        0  swapper/0

Everything is idle. PID 1 is in uninterruptible sleep:

crash> bt 1
PID: 1        TASK: 80a80000          CPU: 3    COMMAND: "swapper/0"
 #0 [337de307a50] __schedule at 3b7df34708c
 #1 [337de307ac8] schedule at 3b7df3475ec
 #2 [337de307af8] schedule_timeout at 3b7df34fd78
 #3 [337de307b80] __wait_for_common at 3b7df348482
 #4 [337de307c18] wait_for_completion_state at 3b7df348658
 #5 [337de307c38] __wait_rcu_gp at 3b7de561da8
 #6 [337de307c98] synchronize_rcu_normal at 3b7de56ba12
 #7 [337de307d78] kern_unmount at 3b7de8a8f86
 #8 [337de307da8] do_sysctl_args at 3b7de94f2fa
 #9 [337de307e20] kernel_init at 3b7df3448b0
#10 [337de307e38] __ret_from_fork at 3b7de46dffc
#11 [337de307ea0] ret_from_fork at 3b7df3514b2

The corresponding rcu_synchronize structure on the stack:

crash> struct rcu_synchronize 0x337de307d80
struct rcu_synchronize {
  head = {
    next = 0x822a62a8,
    func = 0x3b7de561a90 <wakeme_after_rcu>
  },
  completion = {
    done = 0,
    wait = {
      lock = {
        raw_lock = {
          lock = 0
        }
      },
      task_list = {
        next = 0x337de307c50,
        prev = 0x337de307c50
      }
    }
  },
  oldstate = {
    rgos_norm = 0,
    rgos_exp = 0
  }
}

Any idea?

  reply	other threads:[~2026-03-05  7:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-03 18:31 [linux-next][s390] Boot hang after merge c50f05bd3c4e (sched/hrtick) Mikhail Zaslonko
2026-03-04 16:13 ` Mikhail Zaslonko
2026-03-05  7:49   ` Heiko Carstens [this message]
2026-03-05 12:12     ` Peter Zijlstra
2026-03-05 12:35       ` Peter Zijlstra
2026-03-05 12:45         ` Peter Zijlstra
2026-03-05 13:07           ` Peter Zijlstra
2026-03-05 15:02             ` Heiko Carstens
2026-03-05 17:24               ` Mikhail Zaslonko
2026-03-05 19:48                 ` Heiko Carstens
2026-03-06  8:41                   ` Peter Zijlstra

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=20260305074922.7170Ad3-hca@linux.ibm.com \
    --to=hca@linux.ibm.com \
    --cc=egorenar@linux.ibm.com \
    --cc=linux-next@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=paulmck@kernel.org \
    --cc=peterz@infradead.org \
    --cc=tglx@kernel.org \
    --cc=zaslonko@linux.ibm.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