View Single Post
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#15
Originally Posted by reinob View Post
I think the kernel (maybe not the one in the N900) has a mtdswap module that allows you to put swap on an mtd device (rootfs).

The idea is really good. Imagine using a chunk of your rootfs (say, 32MB) as compressed swap.
Not our kernel, a way newer one in mainline (and the Nokia kernel on the N9/50, 2.6.32)
The Mer kernel doesn't have it, the Mer-3.x kernel probably does.

Either way, it'll need to be backported to be used, and Maemo moved off the rootfs to do so.

(Side note: I actually tried booting Harmattan on the N900 using the MeeGo CE kernel. When booting back to Maemo, I noticed that everything was crashing randomly. #maemo said that it probably tried to swap on mtd5. Lucky that Nokia didn't use any other partition as swap, as that could've been nasty for my phone.)
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.