Skip to contentSkip to conversation

max_map_count: Delete dead code

PATCH zhaogongyi via ltp 1 participant 1 message Nov 29, 2021

lore
Share & tools
lore
#0 lore raw

Hi,

In my test system, the __arm__ is not defined, elf head like:

ELF Header:
Magic: 7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00

  Class:                             ELF32
  Data:                              2's complement, big endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           AArch64
  Version:                           0x1
  Entry point address:               0x490
  Start of program headers:          52 (bytes into file)
  Start of section headers:          10012 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         9
  Size of section headers:           40 (bytes)
  Number of section headers:         36

Section header string table index: 35

But for other arm32 platform, the code may be usefull since i have not an older kernel version can run on arm64.

Thanks,
Gongyi

Hi Gongyi,

On Mon, Nov 29, 2021 at 11:56 AM Zhao Gongyi via ltp <[email protected]<mailto:[email protected]>> wrote:
When we run the testcase on AARCH64, there are no TST_ARM defined.

We thought there is a possible 32bit ARM binary runs on 64bit aarch64 kernel.
https://lists.linux.it/pipermail/ltp/2021-November/026038.html

Or, what's your test scenarios, did you build and test that?

--
Regards,
Li Wang

Signature · 2 lines
-- 
Mailing list info: https://lists.linux.it/listinfo/ltp