Message ID | 20211129035737.15910-1-zhaogongyi@huawei.com |
---|---|
State | Rejected |
Headers | show |
Series | max_map_count: Delete dead code | expand |
Hi Gongyi, On Mon, Nov 29, 2021 at 11:56 AM Zhao Gongyi via ltp <ltp@lists.linux.it> 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?
diff --git a/testcases/kernel/mem/tunable/max_map_count.c b/testcases/kernel/mem/tunable/max_map_count.c index a4c3dbf8e..bfbd8b1c7 100644 --- a/testcases/kernel/mem/tunable/max_map_count.c +++ b/testcases/kernel/mem/tunable/max_map_count.c @@ -100,10 +100,6 @@ static bool filter_map(const char *line) return true; break; case TST_ARM: - /* Skip it when run it in aarch64 */ - if (tst_kernel_bits() == 64) - return false; - /* Older arm kernels didn't label their vdso maps */ if (!strncmp(line, "ffff0000-ffff1000", 17)) return true;
When we run the testcase on AARCH64, there are no TST_ARM defined. Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com> --- testcases/kernel/mem/tunable/max_map_count.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.17.1