3 ms·
The OS does have a VM, it simply does not have swap space allocated to support paging to disk (flash). Paging would introduce a considerably less enjoyable user
by kqr2 18y ago
The OS does have a VM, it simply does not have swap space allocated to support paging to disk (flash). Paging would introduce a considerably less enjoyable user experience than forcing applications to account for the available RAM.
Just curious, can swap space be enabled on a jailbroken iphone?
- ankhmoop 18y agoJust curious, can swap space be enabled on a jailbroken iphone? The iPhoneOS doesn't ship with dynamic_pager, which implements user-space allocation and enabling of page files, but in theory, the necessary kernel support should be available. Enabling paging to a specific file is done via the macx_swapon syscall: http://fxr.watson.org/fxr/source/bsd/vm/dp_backing_file.c?v=xnu-1228#L157 http://fxr.watson.org/fxr/source/bsd/vm/dp_backing_file.c?v=... dynamic_pager handles allocation of swap files on-demand (requires free ADC account): http://www.opensource.apple.com/darwinsource/10.0/system_cmds-175/dynamic_pager.tproj/ http://www.opensource.apple.com/darwinsource/10.0/system_cmd...