what shud i do?
Or, you can try swapset. I use it and it works pretty fine.
@peterleinchen As I've written, way of doing ti via /etc/event.d/ script isn't bad at all, but it got one drawback - boot time is considerably slower, as Maemo need to enable eMMC swap first, then, via Your script, enable microSd swap, and disable eMMC swap. No, as enabling swap is very fast, it doesnt consume boot time. Further I do not need to disable eMMC swap, as I start SD swap with higher priority. Last I do not disable eMMM swap, as it will not be used anymore at all (lower priority, it would only be used when my swap overloads). Just a few 4-5 MB are left on eMMC which were used during time between ke-recv and my script. As - at this point - some thing are already swapped (most likely, You run event.d scripts after starting hildon-desktop), they need to be moved from eMMC swpa to microSD swap. Again no, as I start my script like start on started ke-recv and then wait until SD and/or eMMC are mounted. As desribed above, tme swap ram is not moved back. At least not immediately, but slowly during runtime. As for using microSD swap together with eMMC swap, I don't recommend it, even with higher priority for microSD swap - it's still "in use", which creates (less, but still), I/O rade with things from optFS. Just a No, as explained above. Or at least what I understood with my limited Linux skills. Also, I'm quite sure, that using loopback file for swap is considerably slower than native swap - as it's with ED loopback image or native partition. This is a full Yes from your experiences with ED. But I do not know that in detail for swap space. Again, limited Linux skills.