[LTP] [PATCH] max_map_count: fix error by using runtime check

Cyril Hrubis chrubis@suse.cz
Thu Mar 31 14:07:26 CEST 2016


Hi!
> Can we relax the pass condition to allow map_count to be
> within some tolerance? Then we wouldn't have to worry so much about
> all arch specifics.

Looking at the code we skip exactly one mapping on some architectures.
So it looks like allowing the number of mappings to be greater by one
uncoditionally should solve the problem.

But I'm still undecided if we should go this way as we will weaken the
test assertion since at the moment we skip exact mappings by their
label.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list