Just echo a value to /proc/sys/vm/swappiness (as root). There doesn't appear to be sysctl on the N900, so persisting the changes would be a bit trickier.