I don't get it, why would you use a ramdisk for swap? The whole reason the kernel even uses swap is to take inactive pages out of memory so there is room for active pages. By creating a ramdisk, you reduce the amount of RAM you can use for these active pages. Maybe to reduce wear on the flash device? I think this would ultimately reduce performance since your usable RAM size will be significantly reduced?