Re: [OpenWrt-Devel] [PATCH v2] zram-swap: set a high priority for the swap

2015-05-29 Thread Juan Orti Alcaine
Sorry, this is the good one. I sent the wrong patch in my previous email. 2015-05-29 22:00 GMT+02:00 Juan Orti Alcaine : > The zram swap must be activated with a higher priority than > disk-based swap, so it is used before any other. > This patch activates the zram-based swap with a priority of 10

[OpenWrt-Devel] [PATCH v2] zram-swap: set a high priority for the swap

2015-05-29 Thread Juan Orti Alcaine
The zram swap must be activated with a higher priority than disk-based swap, so it is used before any other. This patch activates the zram-based swap with a priority of 100. --- v2: Fallback to no priority when swapon doesn't support it. Signed-off-by: Juan Orti Alcaine --- package/system/zra

[OpenWrt-Devel] [PATCH v2] zram-swap: set a high priority for the swap

2015-05-29 Thread Juan Orti Alcaine
The zram swap must be activated with a higher priority than disk-based swap, so it is used before any other. This patch activates the zram-based swap with a priority of 100. --- v2: Fallback to no priority when swapon doesn't support it. Signed-off-by: Juan Orti Alcaine --- package/system/zra