^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/zram-control/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: August 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 4.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) The zram-control/ class sub-directory belongs to zram
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) device class
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) What: /sys/class/zram-control/hot_add
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Date: August 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) KernelVersion: 4.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) RO attribute. Read operation will cause zram to add a new
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) device and return its device id back to user (so one can
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) use /dev/zram<id>), or error code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) What: /sys/class/zram-control/hot_remove
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Date: August 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) KernelVersion: 4.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) WO attribute. Remove a specific /dev/zramX device, where X
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) is a device_id provided by user.