From: Chen Yu <yu.c.chen@intel.com>
To: chris hyser <chris.hyser@oracle.com>
Cc: <linux-kernel@vger.kernel.org>, <dietmar.eggemann@arm.com>,
<peterz@infradead.org>, <vincent.guittot@linaro.org>
Subject: Re: [PATCH v3] sched/numa: Fix divide by zero for sysctl_numa_balancing_scan_size.
Date: Thu, 6 Apr 2023 14:56:52 +0800 [thread overview]
Message-ID: <ZC5tNK50QouEvX7Q@chenyu5-mobl1> (raw)
In-Reply-To: <20230404182915.2264557-1-chris.hyser@oracle.com>
On 2023-04-04 at 14:29:15 -0400, chris hyser wrote:
> Commit 6419265899d9 ("sched/fair: Fix division by zero
> sysctl_numa_balancing_scan_size") prevented a divide by zero by using
> sysctl mechanisms to return EINVAL for a sysctl_numa_balancing_scan_size
> value of zero. When moved from a sysctl to a debugfs file, this checking
> was lost.
>
> This patch puts zero checking back in place.
>
Maybe add a tag
Fixes: 8a99b6833c88 ("sched: Move SCHED_DEBUG sysctl to debugfs")
> Signed-off-by: Chris Hyser <chris.hyser@oracle.com>
Other than that,
Tested-by: Chen Yu <yu.c.chen@intel.com>
thanks,
Chenyu
next prev parent reply other threads:[~2023-04-06 6:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-04 18:29 chris hyser
2023-04-06 6:56 ` Chen Yu [this message]
2023-04-06 15:30 ` chris hyser
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=ZC5tNK50QouEvX7Q@chenyu5-mobl1 \
--to=yu.c.chen@intel.com \
--cc=chris.hyser@oracle.com \
--cc=dietmar.eggemann@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=vincent.guittot@linaro.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
all inboxes | Powered by JetHome®