[linux-mm-cc] linux-2.6.36, builtin zram: sys/block/zram0/blocksize kaputt

Nitin Gupta nitingupta910 at gmail.com
Sun Nov 7 19:02:29 EST 2010


Hi,

On Sun, Oct 31, 2010 at 4:25 PM, clemens fischer <
ino-news at spotteswoode.dnsalias.org> wrote:

> 'uname -rms' -> Linux 2.6.36-spott i686
>
> I've been running compcache.googlecode.com/hg since 2.6.34.x.  The
> latest interface needed only
>
>    echo "$disksize" > /sys/block/zram0/disksize &&
>    mkswap -L zram0 /dev/zram0 && swapon -p 55 /dev/zram0
>
> and I got compressed swap for what little my machine usually had to do
> with swapping, keeping thos eblocks off the disk.
>
> Now this interface seems gone from what I read in zram.txt, and the
> older zramconfig was resurrected.
>
> Is this going to be permanent or was an older compcache version merged?
> If it is permanent, where do I get the userspace from, I mean, what hg
> version do I need to check out for them?  I noticed zramconfig somewhere
> in the repo, but they must be in older revisions, because the current
> code doesn't have it.
>


I guess you are trying to use the mainline version of zram -- zramconfig is
now gone as we want to switch to /sys interface instead. Currently, mainline
version is in a bit inconsistent state and some important fixes have not yet
reached mainline due to time constraints. I hope to fix that in near future.
 In the mean time, please use zram code from project hg repository.

Thanks,
Nitin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/linux-mm-cc/attachments/20101107/a4350fe1/attachment.htm 


More information about the linux-mm-cc mailing list