From: Petr Vorel <pvorel@suse.cz>
To: "Ricardo B. Marliere" <rbm@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2] mmap14: Convert to new API
Date: Thu, 31 Oct 2024 08:01:13 +0100 [thread overview]
Message-ID: <20241031070113.GA979201@pevik> (raw)
In-Reply-To: <20241030-convert_mmap14-v2-1-d0f66c5a7d18@suse.com>
Hi Ricardo,
...
> + sz_ch = sz_after - sz_before;
> + if (sz_ch == MMAPSIZE / 1024) {
> + tst_res(TPASS, "mmap() locked %uK", sz_ch);
> + } else {
> + tst_res(TFAIL, "Expected %luK locked, get %uK locked",
> + MMAPSIZE / 1024, sz_ch);
> + }
> +
> + SAFE_MUNMAP(addr, MMAPSIZE);
+1, you fixed my bug using sz_ch instead of MMAPSIZE.
Thanks a lot, nice work, merged!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2024-10-31 7:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-30 20:33 [LTP] [PATCH v2] mmap14: Convert to new API Ricardo B. Marliere via ltp
2024-10-31 7:01 ` 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=20241031070113.GA979201@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=rbm@suse.com \
/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