问题
Right now, I use the data returned from host_statistics64
and multiplying page counts by 4K to get the amount of memory in bytes. However, any call to get the system page size that I can think of returns 16K pages. Is there a call that will return the page size used by host_statistics64
? Or is the page size fixed at 4K for that call?
来源:https://stackoverflow.com/questions/23801030/page-size-on-ios-arm64-returned-by-host-statistics64