-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tokio: fix cache line size for RISC-V
Currently tokio uses cache line size data from Go, which is not sufficient at least for T-Head C910 cores. The RISC-V Profiles document defines a maximum 64 bytes cache line for RVA22U64 (although the maximum is 128 bytes for RVA20U64), and the Linux kernel currently assumes 64B cache line too. Change the cache line size used to 64 bytes to match Linux and RVA22U64. Signed-off-by: Icenowy Zheng <[email protected]>
- Loading branch information
Showing
3 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters