Any input - like patches or even improved ereswap - highly appreciated. It would be great, to allow - tuneable by configuration - usage of any variant, no matter of partition layout (2 swaps, 3 swaps, eMMC, microSD...)
it doesn't affect SD card wear&tear - wear leveling is implemented on hardware level of microSD card, so it doesn't matter
@malkavian I don't understand the need for the RANDOM part of your script?
http://wiki.maemo.org/Talk:Swap_on_microSD
maybe after giving higher priority for swap 2, we could wait some time, and then quickly disable and re-enable (with still lower priority) swap 1, so it will be ready for taking higher priority again? Due to sitting with lower priority for some time, it should contain low amount of data for read, anyway.