From: Xia Fukun <xiafukun@huawei.com>
To: <mingo@redhat.com>, <peterz@infradead.org>,
<juri.lelli@redhat.com>, <vincent.guittot@linaro.org>,
<mgorman@suse.de>, <riel@redhat.com>
Cc: <dietmar.eggemann@arm.com>, <rostedt@goodmis.org>,
<bsegall@google.com>, <vschneid@redhat.com>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sched/fair: Fix division-by-zero error in task_scan_max()
Date: Tue, 2 Sep 2025 16:08:08 +0800 [thread overview]
Message-ID: <6c22bdba-00d2-4f5a-a83e-de7dfbf92f22@huawei.com> (raw)
In-Reply-To: <20250827123427.1229183-1-xiafukun@huawei.com>
On 8/27/2025 8:34 PM, Xia Fukun wrote:
> The error can be reproduced by following these steps:
> First, set sysctl_numa_balancing_scan_size to 0:
>
> echo 0 > /sys/kernel/debug/sched/numa_balancing/scan_size_mb
>
> Then trigger the clone system call, for example, by using
> pthread_create to create a new thread.
>
> Oops: divide error: 0000 [#1] SMP NOPTI
> CPU: 11 UID: 0 PID: 1 Comm: systemd Tainted: G S 6.17.0xfk_v2 #6
> Tainted: [S]=CPU_OUT_OF_SPEC
> Hardware name: SuperCloud R5210 G12/X12DPi-N6, BIOS 1.1c 08/30/2021
> RIP: 0010:task_scan_max+0x24/0x190
Gentle ping ...
next prev parent reply other threads:[~2025-09-02 8:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-27 12:34 Xia Fukun
2025-09-02 8:08 ` Xia Fukun [this message]
2025-09-02 8:57 ` 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=6c22bdba-00d2-4f5a-a83e-de7dfbf92f22@huawei.com \
--to=xiafukun@huawei.com \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=riel@redhat.com \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.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
all inboxes | Powered by JetHome®