[LTP] [PATCH] syscalls/cachestat01: Fix num_shift calculation
Petr Vorel
pvorel@suse.cz
Thu Sep 11 11:34:48 CEST 2025
Hi Cyril,
> The calculation added in commit 8422d46 works only for 64k page size.
> This commit fixes the calculation so that it properly detects maximal
> num_shift regardless the page_size.
Thanks for fixing this!
Reviewed-by: Petr Vorel <pvorel@suse.cz>
> Closes #1258
very nit: I tend to use a regular link, i.e.:
Closes: https://github.com/linux-test-project/ltp/pull/1258
Why? in case project project will be moved elsewhere (gitlab?) and one will need
to figure out the link (whether it's an issue or PR).
Kind regards,
Petr
More information about the ltp
mailing list