Skip to content
Snippets Groups Projects
Commit f362dc15 authored by Conn O'Griofa's avatar Conn O'Griofa Committed by John Crispin
Browse files

zram-swap: CONFIG_PROCD_ZRAM_TMPFS compatibility


Enable CONFIG_PROCD_ZRAM_TMPFS compatibility via two changes to list_cpu_idx():
* detect if /tmp is being used by /dev/zram0; if yes, offset initial value by 1 to skip first zram device.
* hot-add /dev/zram1, if not already present.

Signed-off-by: default avatarConn O'Griofa <&gt;connogriofa@gmail.com>
parent 911b6ca2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment