Re: mmapstress06: Convert to new API

Li Wang <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
Hi Wei,

The refactoring generally looks good, but have minor issues:

1. We can remove the strict requirement for Cgroup V2.

2. Check gloabl RAM size, in Cgroup v2, memory.max limits
   physical RAM usage. If the system only has 256MB of
   physical RAM, the process can never reach the 500MB
   memory.max limit.

3. Set mem_limit/map_size to small values e.g. 128MB/256MB
   to make the test widely run.

-- 
Regards,
Li Wang

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.