From: Peter Zijlstra <peterz@infradead.org>
To: "Borah, Chaitanya Kumar" <chaitanya.kumar.borah@intel.com>
Cc: willy@infradead.org, linux-kernel@vger.kernel.org,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>,
"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
"Kurmi, Suresh Kumar" <suresh.kumar.kurmi@intel.com>,
"Saarinen, Jani" <jani.saarinen@intel.com>,
ravitejax.veesam@intel.com
Subject: Re: Regression on linux-next (next-20260324 )
Date: Fri, 27 Mar 2026 17:31:00 +0100 [thread overview]
Message-ID: <20260327163100.GL3738010@noisy.programming.kicks-ass.net> (raw)
In-Reply-To: <af005996-05e9-4336-8450-d14ca652ba5d@intel.com>
On Fri, Mar 27, 2026 at 07:09:26PM +0530, Borah, Chaitanya Kumar wrote:
> Hello Matthew,
>
> Hope you are doing well. I am Chaitanya from the linux graphics team in
> Intel.
>
> This mail is regarding a regression we are seeing in our CI runs[1] on
> linux-next repository.
>
> Since the version next-20260324 [2], we are seeing the following regression
>
> `````````````````````````````````````````````````````````````````````````````````
> <5>[ 157.361977] [IGT] Inactivity timeout exceeded. Killing the current
> test with SIGQUIT.
> <6>[ 157.362097] sysrq: HELP : loglevel(0-9) reboot(b) crash(c)
> show-all-locks(d) terminate-all-tasks(e) memory-full-oom-kill(f)
> kill-all-tasks(i) thaw-filesystems(j) sak(k)
> show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n)
> poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s)
> show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w)
> dump-ftrace-buffer(z) replay-kernel-logs(R)
> <6>[ 157.399543] sysrq: Show State
> <6>[ 157.403061] task:systemd state:S stack:0 pid:1 tgid:1
> ppid:0 task_flags:0x400100 flags:0x00080000
> <6>[ 157.403067] Call Trace:
> <6>[ 157.403069] <TASK>
> <6>[ 157.403072] __schedule+0x5d7/0x1ef0
> <6>[ 157.403078] ? lock_acquire+0xc4/0x300
> <6>[ 157.403084] ? schedule+0x10e/0x180
> <6>[ 157.403087] ? lock_release+0xcd/0x2b0
> <6>[ 157.403092] schedule+0x3a/0x180
> <6>[ 157.403094] schedule_hrtimeout_range_clock+0x112/0x120
> <6>[ 157.403097] ? do_epoll_wait+0x3e4/0x5b0
> <6>[ 157.403102] ? lock_release+0xcd/0x2b0
> <6>[ 157.403104] ? _raw_spin_unlock_irq+0x27/0x70
> <6>[ 157.403106] ? do_epoll_wait+0x3e4/0x5b0
> <6>[ 157.403110] schedule_hrtimeout_range+0x13/0x30
> `````````````````````````````````````````````````````````````````````````````````
> Details log can be found in [3].
>
> After bisecting the tree, the following patch [4] seems to be the first
> "bad" commit
>
> `````````````````````````````````````````````````````````````````````````````````````````````````````````
> commit 25500ba7e77ce9d3d9b5a1929d41a2ee2e23f6fe
> Author: Matthew Wilcox (Oracle) willy@infradead.org
> Date: Thu Mar 5 19:55:43 2026 +0000
>
> locking/mutex: Remove the list_head from struct mutex
> `````````````````````````````````````````````````````````````````````````````````````````````````````````
>
> We could not revert the patch because of merge conflict but resetting to the
> parent of the commit seems to fix the issue.
>
> Could you please check why the patch causes this regression and provide a
> fix if necessary?
Does this help?
---
--- a/kernel/locking/ww_mutex.h
+++ b/kernel/locking/ww_mutex.h
@@ -40,10 +40,10 @@ __ww_waiter_last(struct mutex *lock)
__must_hold(&lock->wait_lock)
{
struct mutex_waiter *w = lock->first_waiter;
+ if (!w)
+ return NULL;
- if (w)
- w = list_prev_entry(w, list);
- return w;
+ return __ww_waiter_prev(lock, w);
}
static inline void
next prev parent reply other threads:[~2026-03-27 16:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-27 13:39 Regression on linux-next (next-20260324 ) Borah, Chaitanya Kumar
2026-03-27 16:31 ` Peter Zijlstra [this message]
2026-03-27 16:43 ` Peter Zijlstra
2026-03-30 8:26 ` Borah, Chaitanya Kumar
2026-03-30 19:50 ` Peter Zijlstra
2026-03-27 16:36 ` ✗ LGCI.VerificationFailed: failure for " Patchwork
2026-03-27 16:44 ` ✗ LGCI.VerificationFailed: failure for Regression on linux-next (next-20260324 ) (rev2) Patchwork
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=20260327163100.GL3738010@noisy.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=chaitanya.kumar.borah@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.saarinen@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ravitejax.veesam@intel.com \
--cc=suresh.kumar.kurmi@intel.com \
--cc=willy@infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox