facebook/folly — pull request #80 by danslo (2014-08-09 20:31:05+00:00)
Title: don't use readFromSysfs on non-linux

It eventually tries to read from /sys/devices which is not portable.
Let's just fall back to sysconf/CacheLocality::uniform.

This fixes a runtime crash on OSX, but CYGWIN/BSD were probably also
affected.