Closed ncopa closed 5 years ago
Tested, works great for me! Thanks :)
It didn't resolve the issue for me reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866306
Which cache size sysfs interface was this referring to?
I'm testing on an Odroid-C2, which uses an amlogic cortex-a53 cpu.
Some ARM cpus does not report the cache size or say it is -1 in sysfs. It has been observed on xgene and thunderx machines.
Fall back to the generic cache size when that happens so we don't segfault.
Should fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866306