[LTP] [RFC PATCH] readahead02: detect cache stats via mincore per testfile
Li Wang
liwang@redhat.com
Sat Dec 20 03:06:30 CET 2025
Cyril Hrubis <chrubis@suse.cz> wrote:
> > + fd = SAFE_OPEN(path, O_RDONLY);
> > +
> > + pagecnt = (length + pagesize - 1) / pagesize;
>
> We have LTP_ALIGN() macro, maybe we should use that one instead.
>
Yes.
> Otherwise: Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
>
Patch merge (using LTP_ALIGN()). Thanks!
--
Regards,
Li Wang
More information about the ltp
mailing list