Swap on flash

Mitch Bradley wmb at laptop.org
Tue Jan 6 19:56:31 EST 2009

There is a "swaponflash" mtd driver.  See


Trying to swap on top of JFFS2 is a bad fit.  Swapping has several 
characteristics that make the problem much easier that the general 
filesystem-on-NAND problem.  In particular:

a) The CPU page size is a multiple of the NAND page size.
b) There's no need for a persistent index across reboots

Such a driver accessing a dedicated NAND partition ought to work just fine.

More information about the Devel mailing list