From: Petr Vorel <pvorel@suse.cz>
To: Ben Copeland <ben.copeland@linaro.org>
Cc: arnd@arndb.de, lkft-triage@lists.linaro.org, ltp@lists.linux.it,
dan.carpenter@linaro.org
Subject: Re: [LTP] [PATCH v3] overcommit_memory: Fix integer overflow and 32-bit limits
Date: Fri, 17 Oct 2025 18:22:45 +0200 [thread overview]
Message-ID: <20251017162245.GB351168@pevik> (raw)
In-Reply-To: <20251016124025.1472694-1-ben.copeland@linaro.org>
Hi all,
> The overcommit test uses sum_total, the sum (memory and swap) to test
> the overcommit settings.
> This fixes two problems on 32-bit systems. The first is seen with a
> integer overflow can occur when calculating sum_total * 2, if the
> sum_total is larger than 2GB. The second is limited virtual address
> space (2-3GB) means the test can fail from address space exhaustion
> before overcommit has been tested.
> Now the test runs correctly on low-memory 32-bit systems while avoiding
> both the overflow bug and virtual address space issues.
Thanks, also this patch merged!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2025-10-17 16:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-16 12:40 [LTP] [PATCH v3] overcommit_memory: Fix integer overflow and 32-bit limits Ben Copeland
2025-10-17 9:58 ` Li Wang via ltp
2025-10-17 16:22 ` Petr Vorel [this message]
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=20251017162245.GB351168@pevik \
--to=pvorel@suse.cz \
--cc=arnd@arndb.de \
--cc=ben.copeland@linaro.org \
--cc=dan.carpenter@linaro.org \
--cc=lkft-triage@lists.linaro.org \
--cc=ltp@lists.linux.it \
/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