This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix free page calculations on iOS
Summary: [iOS] [Fixed] - Fix how the amount of free memory is calculated to mimic the logic Apple uses. For example, see https://opensource.apple.com/source/system_cmds/system_cmds-805.250.2/vm_stat.tproj/vm_stat.c.auto.html for how `vm_stat` does it: ``` sspstat("Pages free:", (uint64_t) (vm_stat.free_count - vm_stat.speculative_count)); ``` Reviewed By: shergin Differential Revision: D17671714 fbshipit-source-id: 18ef31e17a0527a9bef7a408922cd687260866db
- Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.