On 05/02/2011 09:16 AM, Sergey Evlashev wrote:
Hi,

On 04/30/2011 04:24 AM, ext Nitin Gupta wrote:
Hi,

On 04/28/2011 11:57 AM, Sergey Evlashev wrote:
From: Kirill A. Shutemov<[email protected]>

reset_devices() uses in ramzswap_ioctl_init_device() error path. So we
have to check if rzs->table was really allocated before freeing it.

Signed-off-by: Kirill A. Shutemov<[email protected]>
Signed-off-by: Sergey Evlashev<[email protected]>
Reported-by: Phil Carmody<[email protected]>


Thanks for this fix but I'm no longer maintaining this old ramzswap code. Is there any reason why you can't switch to new zram code.

I guess we have a snapshot of ramzswap code which was adopted for 2.6.32 some time ago.
Do you have a patch of the latest zram code for 2.6.32?


I don't have latest zram as a kernel patch but you can download zram as a separate module:
hg clone https://[email protected]/hg/ compcache
(almost identical to current mainline version)

Some zram documentation (setting disksize, creating filesystem etc):
http://en.gentoo-wiki.com/wiki/Zram_disks
Thanks to Gentoo folks!

Please let me know if you face any issues running this on 2.6.32

Thanks,
Nitin



_______________________________________________
linux-mm-cc mailing list
[email protected]
http://lists.laptop.org/listinfo/linux-mm-cc

Reply via email to