[LTP] [PATCH v5 3/3] max_map_count: replace ifdefs by tst_arch

Richard Palethorpe rpalethorpe@suse.de
Wed Nov 17 14:58:51 CET 2021


Hello Li,

Li Wang <liwang@redhat.com> writes:

> Hi Richard,
>
>  
>  > +     case TST_IA64:
>  > +             /* On ia64, the vdso is not a proper mapping */
>  > +             if (!strcmp(buf, "[vdso]"))
>  > +                     return true;
>  > +             break;
>  > +     case TST_ARM:
>  > +             /* Skip it when run it in aarch64 */
>
>  This should not be possible. If TST_ARM is set then how can we be on
>  aarch64? We also have TST_AARCH64.
>
> Not exactly, I was thinking like this before, but as Cyril point that there is
> a possible 32bit ARM binary runs on 64bit aarch64 kernel.
>
> https://lists.linux.it/pipermail/ltp/2021-November/025925.html

Thanks

Reviewed-by: Richard Palethorpe <rpalethorpe@suse.com>


-- 
Thank you,
Richard.


More information about the ltp mailing list