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

Li Wang liwan@redhat.com
Thu Sep 23 08:49:57 CEST 2021


> It seems to be regression test for:
>
> commit c5c99429fa57dcf6e05203ebe3676db1ec646793
> Author: Larry Woodman <lwoodman@redhat.com>
> Date:   Thu Jan 24 05:49:25 2008 -0800
>
>     fix hugepages leak due to pagetable page sharing
>


>
> As far as I can tell there is no reason to allocate the memory on a
> fixed address to trigger this bug but it should be easy enough to check
> if the test fails on a kernel that has the two lines this patch adds
> commented before and after the change it test.
>

That commit was merged in v2.6.24, it too old kernel and
changes a lot in the two lines, I guess it is not easy to test
a kernel with revert that patch.

>
> Also can we pretty please add the commit hash to the test metadata?
>

+1

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


More information about the ltp mailing list