rv6 icon indicating copy to clipboard operation
rv6 copied to clipboard

Lfs: stack overflow happens too often on low rustc version

Open travis1829 opened this issue 2 years ago • 1 comments

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.

travis1829 avatar Mar 09 '22 16:03 travis1829

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.

travis1829 avatar Mar 18 '22 00:03 travis1829