ColinIanKing / stress-ng

This is the stress-ng upstream project git repository. stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.
https://github.com/ColinIanKing/stress-ng
GNU General Public License v2.0
1.82k stars 290 forks source link

stress-cache: add stress_cache_bzero() to support cache-based bzero #398

Closed woodrow-shen closed 6 months ago

woodrow-shen commented 6 months ago

The function stress_cache_bzero() currently only supports riscv implementation, which uses cbo.zero instruction if zicboz extension can be probed in the system.

woodrow-shen commented 6 months ago

Hi @ColinIanKing A further PR is based on previous suggestions and pls review it for proper logic. Thanks.

woodrow-shen commented 6 months ago

Yeap, thanks for pointing out the check, I will have to revise a bit.

woodrow-shen commented 6 months ago

Done for update.

ColinIanKing commented 6 months ago

Thank you for your contribution. Applied and pushed.