rv6
rv6 copied to clipboard
Lfs: stack overflow happens too often on low rustc version
Currently, rv6 is using rustc nightly-2021-06-19, but compared to the latest (tried on 2022-03-09), it seems like usertests is much slower and also causes a lot of stack overflows when testing the lfs on this version.
kerneltrap(): scause 0x000000000000000f
sepc=0x000000008004c5a6 stval=0x0000003fffff6000
Since this is an optimization issue, I think it will be hard to resolve this through changing the code. Instead, it seems like we should upgrade the rustc version someday.
EDIT: It seems like this doesn't happen anymore after fixing a lot of parts. However, note that rv6 is still much slower on low rustc versions.