<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 05/02/2011 09:16 AM, Sergey Evlashev wrote:
<blockquote cite="mid:4DBEAEAF.8050709@nokia.com" type="cite">Hi,
<br>
<br>
On 04/30/2011 04:24 AM, ext Nitin Gupta wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
On 04/28/2011 11:57 AM, Sergey Evlashev wrote:
<br>
<blockquote type="cite">From: Kirill A.
Shutemov<a class="moz-txt-link-rfc2396E" href="mailto:kirill@shutemov.name"><kirill@shutemov.name></a>
<br>
<br>
reset_devices() uses in ramzswap_ioctl_init_device() error
path. So we
<br>
have to check if rzs->table was really allocated before
freeing it.
<br>
<br>
Signed-off-by: Kirill A. Shutemov<a class="moz-txt-link-rfc2396E" href="mailto:kirill@shutemov.name"><kirill@shutemov.name></a>
<br>
Signed-off-by: Sergey
Evlashev<a class="moz-txt-link-rfc2396E" href="mailto:sergey.evlashev@nokia.com"><sergey.evlashev@nokia.com></a>
<br>
Reported-by: Phil Carmody<a class="moz-txt-link-rfc2396E" href="mailto:ext-phil.2.carmody@nokia.com"><ext-phil.2.carmody@nokia.com></a>
<br>
</blockquote>
<br>
<br>
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.
<br>
<br>
</blockquote>
I guess we have a snapshot of ramzswap code which was adopted for
2.6.32 some time ago.
<br>
Do you have a patch of the latest zram code for 2.6.32?
<br>
</blockquote>
<br>
<br>
I don't have latest zram as a kernel patch but you can download zram
as a separate module:<br>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="font-family: arial,sans-serif;
font-size: 13px;"><tt id="checkoutcmd" style="font-family:
Monaco,'DejaVu Sans Mono','Bitstream Vera Sans Mono','Lucida
Console',monospace; font-size: 12px; max-width: 66em;">hg
clone <a class="moz-txt-link-freetext" href="https://nitingupta910@compcache.googlecode.com/hg/">https://nitingupta910@compcache.googlecode.com/hg/</a>
compcache</tt><tt><span class="Apple-converted-space"> </span></tt><br>
</span></span>(almost identical to current mainline version)<br>
<br>
Some zram documentation (setting disksize, creating filesystem etc):<br>
<a href="http://en.gentoo-wiki.com/wiki/Zram_disks">http://en.gentoo-wiki.com/wiki/Zram_disks</a><br>
Thanks to Gentoo folks!<br>
<br>
Please let me know if you face any issues running this on 2.6.32<br>
<br>
Thanks,<br>
Nitin<br>
<br>
<br>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="font-family: arial,sans-serif;
font-size: 13px;"><br>
</span></span>
</body>
</html>