using sysinfo(3) https://www.freebsd.org/cgi/man.cgi?query=sysinfo&apropos=0&sektion=3&manpath=FreeBSD+9-current&format=html
Created attachment 399063 [details] PATCH
Comment on attachment 399063 [details] PATCH View in context: https://bugs.webkit.org/attachment.cgi?id=399063&action=review r=me > Source/WTF/wtf/RAMSize.cpp:60 > sysinfo(&si); Should we assert that the return value here is zero (similar to what bmalloc does)? Would also be nice to use `info` like bmalloc. Neither of these are necessary to land this patch.
Committed r261543: <https://trac.webkit.org/changeset/261543> All reviewed patches have been landed. Closing bug and clearing flags on attachment 399063 [details].
<rdar://problem/63117982>