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

Cyril Hrubis chrubis@suse.cz
Mon Nov 24 14:18:19 CET 2025


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.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list