Skip to content
Compare
Choose a tag to compare
@chickendrop89 chickendrop89 released this 27 Aug 00:57
· 5 commits to master since this release
49c16a1

Release 2.1

magisk-swapspace by chickendrop89 ⓒ GPLv3 license
usage: magiskswap <COMMAND> <VALUE> [OPTIONAL]

create <size: GB> [priority] [preserve]
  - Creates swapfile and swaps-on
    (?) [preserve] option enables the previously disabled swapfile

remove [preserve]
  - Permanently swaps-off and deletes swapfile
    (?) [preserve] option only disables it

status [swapon] [swapoff]
  - Prints swapfile size and status

swappiness <0-200> [show] [reset]
  - Controls how agressively Linux swaps anonymous memory

vfs-cache-pressure <1-∞> [show] [reset] 
  - Controls the tendency of the kernel to reclaim the memory

(?) These commands are presistent across reboots (?)

Changelog

  • Fix some unexpected behaviour with the free space check
  • Refactor some code to be POSIX compliant
  • Fix wrong command ranges with swappiness

GitHub Releases SourceForge