[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6c22bdba-00d2-4f5a-a83e-de7dfbf92f22@huawei.com>
Date: Tue, 2 Sep 2025 16:08:08 +0800
From: Xia Fukun <xiafukun@...wei.com>
To: <mingo@...hat.com>, <peterz@...radead.org>, <juri.lelli@...hat.com>,
<vincent.guittot@...aro.org>, <mgorman@...e.de>, <riel@...hat.com>
CC: <dietmar.eggemann@....com>, <rostedt@...dmis.org>, <bsegall@...gle.com>,
<vschneid@...hat.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sched/fair: Fix division-by-zero error in task_scan_max()
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 ...
Powered by blists - more mailing lists