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

Li Wang liwang@redhat.com
Wed Nov 17 14:28:30 CET 2021


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


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


More information about the ltp mailing list