On Tue, Mar 26, 2013 at 08:50:53PM +0100, Mark Kettenis wrote:
> From: Mark Kettenis <[email protected]>
> 
> The sysinfo function is Linux-specific.  sysconf(_SC_PHYS_PAGES), while
> not truly portable, is available on many more systems, including Linux,
> Solaris, NetBSD, FreeBSD and OpenBSD.  So use that instead.  Verified
> that this results in the same value as the sysinfo call on a handful of
> Linux systems.

I bikeshedded slightly, as I could not see a compelling reason to
completely replace the current code - I know it currently works.

Thanks for the patch, pushed.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to