linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: ying chen <yc1082463@gmail.com>
To: akpm@linux-foundation.org, linux-mm@kvack.org,
	 linux-kernel@vger.kernel.org, paulmck@kernel.org,
	frederic@kernel.org,  quic_neeraju@quicinc.com,
	josh@joshtriplett.org,  Steven Rostedt <rostedt@goodmis.org>,
	mathieu.desnoyers@efficios.com,  jiangshanlai@gmail.com,
	joel@joelfernandes.org, rcu@vger.kernel.org
Subject: Fwd: [BUG] rcu_tasks detected stalls in kcompactd during proactive compaction
Date: Fri, 27 Mar 2026 10:47:47 +0800	[thread overview]
Message-ID: <CAN2Y7hxx8OQemOiF17swXcLccd-KJ=j0P0tkWD+fQqzL5O1FhQ@mail.gmail.com> (raw)
In-Reply-To: <CAN2Y7hzb6yfHwHdwMC1TTP87dbnn=BHyyWz+iCQ_EswN5jVjeg@mail.gmail.com>

---------- Forwarded message ---------
From: ying chen <yc1082463@gmail.com>
Date: Tue, Mar 24, 2026 at 4:26 PM
Subject: [BUG] rcu_tasks detected stalls in kcompactd during proactive
compaction
To: <linux-mm@kvack.org>, <linux-kernel@vger.org>,
<paulmck@kernel.org>, <akpm@linux-foundation.org>


Hi all,
I encountered an RCU tasks stall issue triggered by kcompactd0 on my
system.Below are the details of the incident:

Kernel Version:6.1.0-x
vm.compaction_proactiveness = 20
CONFIG_PREEMPT_RCU=y

[Sun Mar 22 16:36:04 2026] INFO: rcu_tasks detected stalls on tasks:
[Sun Mar 22 16:36:04 2026] 00000000fcafb4d6: .. nvcsw: 622963/622963
holdout: 1 idle_cpu: -1/1
[Sun Mar 22 16:36:04 2026] task:kcompactd0      state:R running task
 stack:0         pid:1943
[Sun Mar 22 16:36:04 2026] Call Trace:
[Sun Mar 22 16:36:04 2026]  <TASK>
[Sun Mar 22 16:36:04 2026]  ? rmap_walk_anon+0x16b/0x330
[Sun Mar 22 16:36:04 2026]  ? try_to_migrate+0x96/0x110
[Sun Mar 22 16:36:04 2026]  ? try_to_unmap_one+0xd0/0xd0
[Sun Mar 22 16:36:04 2026]  ? anon_vma_ctor+0x50/0x50
[Sun Mar 22 16:36:04 2026]  ? folio_get_anon_vma+0x90/0x90
[Sun Mar 22 16:36:04 2026]  ? invalid_mkclean_vma+0x20/0x20
[Sun Mar 22 16:36:04 2026]  ? __unmap_and_move+0x21e/0x340
[Sun Mar 22 16:36:04 2026]  ? free_unref_page+0x17d/0x1f0
[Sun Mar 22 16:36:04 2026]  ? release_freepages+0xc0/0xc0
[Sun Mar 22 16:36:04 2026]  ? release_freepages+0xc0/0xc0
[Sun Mar 22 16:36:04 2026]  ? unmap_and_move+0xaa/0x4c0
[Sun Mar 22 16:36:04 2026]  ? migrate_pages+0x3a9/0x790
[Sun Mar 22 16:36:04 2026]  ? release_freepages+0xc0/0xc0
[Sun Mar 22 16:36:04 2026]  ? isolate_migratepages+0x2a0/0x2a0
[Sun Mar 22 16:36:04 2026]  ? compact_zone+0x310/0x5d0
[Sun Mar 22 16:36:04 2026]  ? proactive_compact_node+0x88/0xc0
[Sun Mar 22 16:36:04 2026]  ? kcompactd+0x365/0x3f0
[Sun Mar 22 16:36:04 2026]  ? membarrier_register_private_expedited+0xa0/0xa0
[Sun Mar 22 16:36:04 2026]  ? kcompactd_do_work+0x2a0/0x2a0
[Sun Mar 22 16:36:04 2026]  ? kthread+0xeb/0x120


      reply	other threads:[~2026-03-27  2:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-24  8:26 ying chen
2026-03-27  2:47 ` ying chen [this message]

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='CAN2Y7hxx8OQemOiF17swXcLccd-KJ=j0P0tkWD+fQqzL5O1FhQ@mail.gmail.com' \
    --to=yc1082463@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=frederic@kernel.org \
    --cc=jiangshanlai@gmail.com \
    --cc=joel@joelfernandes.org \
    --cc=josh@joshtriplett.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=paulmck@kernel.org \
    --cc=quic_neeraju@quicinc.com \
    --cc=rcu@vger.kernel.org \
    --cc=rostedt@goodmis.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