Comment 3 for bug 832694

Revision history for this message
Andy Whitcroft (apw) wrote :

The new xvmalloc module has a complely different API to the one used by ramzswap so we are unable to move it trivially over to use the version in staging. We have two solutions available to us.

1) turn off zram and use ramzswap, or
2) turn off ramzswap and switch the live installer to use that.

The first should be the simplest as we _should_ already have the required installer support. The second is a longer term solution as zram represents the ongoing development of ramzswap.

However looking at the installer support (which is actually part of initramfs-tools) we find that the code there for using ramzswap is broken and will never correctly load the module as indeed is the code for compcache. The syntax of the generated udev rules files are broken and needs fundamental redesign. If we are going to redo the support there we may as well add zram support and transition over.

Therefore I am opening this up against initramfs-tools and the kernel. For the kernel this is to track removing ramzswap (which is broken anyhow). For initramfs-tools it is to track the updates to the udev support and adding zram support.