Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Nathan Hintz
On Mon, 2013-01-14 at 11:25 +0100, Bastian Bittorf wrote: > * Nathan Hintz [14.01.2013 11:05]: > > > - swapon "$zram_dev" > > + swapon -p 0 "$zram_dev" > > this breaks zram for now, because we compile > the busybox-swaponoff without support for "p". > > the patch is OK, but

Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz [14.01.2013 11:05]: > Insures zram swap is higher priority than any swap added by block-mount; > which is not the case if zram swap is restarted for any reason > (e.g., /etc/init.d/zram restart). > > Signed-off-by: Nathan Hintz > > Index: package/zram-swap/files/zram.init > =

Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz [14.01.2013 11:05]: > - swapon "$zram_dev" > + swapon -p 0 "$zram_dev" i just stumbled over the fact, that target atheros 23xx has no support for swap activated and is still at kernel v3.3.8. CONFIG_SWAP=y make kernel_menuconfig General setup ---> [*] Sup

Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz [14.01.2013 11:05]: > - swapon "$zram_dev" > + swapon -p 0 "$zram_dev" this breaks zram for now, because we compile the busybox-swaponoff without support for "p". the patch is OK, but can please somebody switch on the support for "p" for all images? bye,

[OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-13 Thread Nathan Hintz
Insures zram swap is higher priority than any swap added by block-mount; which is not the case if zram swap is restarted for any reason (e.g., /etc/init.d/zram restart). Signed-off-by: Nathan Hintz Index: package/zram-swap/files/zram.init =