Re: [PATCH 1/2] util_macros.h: fix/rework find_closest() macros
From: Andrew Morton
Date: Thu Oct 31 2024 - 21:59:19 EST
On Thu, 31 Oct 2024 08:37:06 +0200 Alexandru Ardelean <aardelean@xxxxxxxxxxxx> wrote:
> A bug was found in the find_closest() (find_closest_descending() is also
> affected after some testing), where for certain values with small
> progressions, the rounding (done by averaging 2 values) causes an incorrect
> index to be returned.
Please help us understand the userspace-visible effects of this bug.
Do you believe the bug is sufficiently serious to justify backporting
these fixes into earlier kernel versions? If so, are you able to help
us identify a suitable Fixes: target?
Thanks.