Add function to access new "CPU count" field in CpuInfo device.
Use actual number of cores for locking; do not lock on unicore.
Merge branch 'master' into swscache