On 04/15/2014 03:43 PM, Natanael Copa wrote: > * lib/physmem.c (physmem_total): Some systems like musl libc does not > (yet) support _SC_PHYS_PAGES. Use the linux syscall sysinfo first and > fallback to sysconf with _SC_PHYS_PAGES and _SC_PAGESIZE.
This looks good. I confirmed the values are the same on a 2.6.43.8-2.fc15.x86_64 system at least. thanks, Pádraig.