[LTP] [PATCH v1 0/3] cachestat testing suite

Cyril Hrubis chrubis@suse.cz
Tue Jul 16 10:16:57 CEST 2024


Hi!
> So if you call cacestat() on a socket fd it will try to loop over empty
> list of vmas and the end result would be statistics that are full of
> zeroes. Maybe that is worth of a special test just for this case.

Thinking of it over night it may make sense to write the tst_fd test and
either expect EBADF or the statistics to be zeroed for file descriptors
that do not use page cache (i.e. are not file based).

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list