[LTP] [PATCH] hugeshmat04: don't attach at specific address

Li Wang liwan@redhat.com
Wed Sep 22 08:34:39 CEST 2021


On Wed, Sep 22, 2021 at 12:46 AM Jan Stancek <jstancek@redhat.com> wrote:

> The test intermittently fails on ppc64le, when heap
> happens to overlap with segment that the test is trying
> to attach at 1GB boundary.
>
> Let the kernel find suitable address.
>

I'm not sure why the original way uses fixed address, but
it should be fine to cancel that limitation.

Reviewed-by: Li Wang <liwang@redhat.com>

Or, maybe we can consider doing range_is_mapped check
before using it.

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210922/b933961b/attachment.htm>


More information about the ltp mailing list