[LTP] [PATCH 1/1] readahead02: Sleep 1.5 msec to fix problem on bare metal

Li Wang liwang@redhat.com
Mon Nov 24 14:20:46 CET 2025


On Mon, Nov 24, 2025 at 9:17 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> Hi!
> > This is a nice improvement, but one thing comes to my mind that
> > get_cached_size() reads the system wide “Cached” size from
> > '/proc/meminfo' might not be reliable in the test (probbaly impact
> > from other progress).
> >
> > So, how about using mincore() works on the currently mapped pages
> > to count the resident bytes in memory?
>
> I guess that we can do that in a subsequent patch. I've just sent
> slightly modified version of this patch.
>

No problem, I will try the mincore() method separately (based on your V2
change).

-- 
Regards,
Li Wang


More information about the ltp mailing list