On Wed, 30 Sep 2026 23:00:27 -0700 Aveline Noir <[email protected]> wrote:
> mrelease_test doubles the child allocation when process_mrelease()
> returns ESRCH.
>
> When size is already MAX_SIZE_MB, the current <= check still allows
> another retry, causing the allocation to grow from 1024 MB to 2048 MB.
>
> Use < instead of <= so the largest allocation attempted remains
> MAX_SIZE_MB.
Makes sense to me.
>
> LLM used in discovering bug. Changes were made and reviewed manually.
>
> Fixes: 33776141b812 ("selftests: vm: add process_mrelease tests")
> Assisted-by: LLM
> Signed-off-by: Aveline Noir <[email protected]>
Reviewed-by: SJ Park <[email protected]>
Thanks,
SJ
[...]